Quick Start

Environment Variable Setting

  • Windows
    • Set GOPATH in environment setting with the value pointing to the specific directory, e.g. C:\work.

Necessary tools

Action On Command

# go version
> go version

# build the source code
> go build filePath

# download and install the package
> go get packageURI

# format the source code
> go fmt filePath

results matching ""

    No results matching ""