Basic Structure of the Golang Program Create a new folder for the project, then create a file main.go // this is the inline comment package main import “fmt” func main() { fmt.Println(“Hello, World”) } Explanation Code // is used for inline comments, for multiline comments use /* multiline */ package main, the program will compile as an executable. import “fmt”, keyword import to import package. In the example it is “fmt”, useful for writing to stdout.