- CMD+OPTION+M -> extract method
- CMD+OPTION+R -> refactor menu
- CMD+OPTION+B -> go to declaration
to serve the docs with the current project's examples and documentation
godoc -http=:6060
to get the docs about a function
go doc fmt.Println
go test -v -bench=. ./...
go test -cover ./...
go build -ldflags "-w -s"
GOOS="linux" GOARCH="amd64" go build hello.go
go install github.com/kisielk/errcheck@latest
#single directory
errcheck .
#recursive
# todo bash script running errcheck recursively