Learn Go: Hello World Program in Golang #3
In this tutorial, I will be embarking on a mission to help get you up and running with the language
Go is an absolutely incredible language to build a wide variety of different applications in. From command-line interfaces to distributed microsystems and even cloud platforms, its’ simplicity and concurrency baked in makes it a powerful choice of language for many development teams.
In this tutorial, I will be embarking on a mission to help get you up and running with the language so that you can go off and build ever-more brilliant applications and help push forward technology.
We’ll be focusing on getting a really simple Hello World style application up and running. Once you’ve got everything working correctly, we can start the rest of our journey learning the more complex aspects of the language such as functions, methods, and eventually things like concurrency and reflection.
Let’s dive in with getting everything installed and writing an incredibly simple program to get our toes wet.
First hello world program, we’ll want to add the following code:
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello, playground")
}
Congratulations -You have successfully written, run and compiled your first Go application!
So, in this simple tutorial, we managed to successfully start our journey into the world of Go development