1. Preparing the Go Environment
#golang
Last updated
Was this helpful?
#golang
Last updated
Was this helpful?
To run and execute code in Go you should first download the compiler. The installers for Linux, macOS and Windows can all be found on the official website .
Once the compiler is installed we run the following command to make sure everything is working as expected
When VSCode is installed we go ahead and install the GO language support for VSCode from the extensions:
Then it is highly recommended to install an IDE. It helps with code suggestions and highlighting errors in our code. My personal preference is . I like it that I can use the same IDE in every OS.