/golang-first-steps

First Steps - Following Go Tour

Primary LanguageGo

Go Tour

Install

You must download the specific file for your OS. https://go.dev/dl/

And then you can create a file.go with the content as bellow:

package main

import "fmt"

func main() {
	fmt.Println("Hello, 世界")
}

Execute with command-line:

go run your-file.go

Other commands:

go build file.go

Tour

Welcome:
https://go.dev/tour/welcome/1

Basic:
https://go.dev/tour/basics/2