Our first program will print the classic “hello world” message. Here’s the full source code. |
|
|
|
|
To run the program, put the code in |
|
Sometimes we’ll want to build our programs into
binaries. We can do this using |
|
We can then execute the built binary directly. |
|
Now that we can run and build basic Go programs, let’s learn more about the language. |
Next example: Values.