Your first program is Hello World. Create a file named main.go and type this code:
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
Run it with go run main.go. You should see Hello, World! printed to your terminal. You just wrote and executed your first Go program.