Step 3: Add build
The next step is to add the build process to the project.
In many organisations, there exists a convention where build scripts reside and their name. Alternativel the IDE may have a convention or understand the build.
With
.. Test first
.. Open in editor
.. go version in 1.12.9
.. go mod tidy
.. go build .\main.go
.. run needs API key
.. get API key https://newsapi.org/
And now we can move onto the next Step.
Errors
If the above did produce error messages, please re-run the command with the additional argument of “-v” for verbose logging to console.