Quick start Go
go mod init <name of project> go get <package name>go mod tidyBasic hello world
package main
import (
"fmt"
)
func main(){
fmt.println("Hello world")
}Last updated
go mod init <name of project> go get <package name>go mod tidypackage main
import (
"fmt"
)
func main(){
fmt.println("Hello world")
}Last updated
go run main.go