Go - Getting Started (Hello World)
Steps
-
-
Create below the
base path, your package directory and it the below source file
Source hello.go
package main
import "fmt"
func main() {
fmt.Printf("hello, world\n")
}
go install base_path/package/hello
Documentation / Reference