🏷️Go
https://go.dev/
The Basics
Installation
Official package here
CLI commands
go build
- Compile code and get binarygo run
- Compile code and run itgo generate
- Run code generationgo install
- Download utilite, compile it and install binary to $GOPATH/bingo get
- Download dependenciesgo mod init
- Download file with list of dependenciesgo mod tidy
- Actualize file with list of dependenciesgo mod vendor
- Install all dependencies to vendor foldergo test
- Run Unit testsgo tool cover
- Get report about cover about unit testsgo tool pprof
- Profile programmgo fmt
- Autoformat style of codego vet
- Run lintersgo env
- Output lists of environment variables uses in gogo help <build>
- about command
Last updated