Philosophy
- Simplicity
- Cross-platform support
- Existence of network requests and concurrency execution
- Library-free experience; the standard library is enough for strings, network, file management, testing
- Backwards compatibility
- Command Line Interface is powerful
Go CLI
The most important features..
- Project initialization:
go mod init
- Build:
go build
- Test:
go test
- Run:
go run
(builds and runs the project + cleanup) - Profiling
- Documentation:
godoc
- Formatting:
gofmt
- Code generation:
go generate
- Automatic retrieval of dependencies: also,
go get
- Report language bugs:
go bug