1
0

go.md 572 B


title: Go (Language) breadcrumbs:

  • title: Software Engineering --- {% include header.md %}

Useful Commands

  • Update dependencies (all modules): go get -d -u ./...
    • -u to upgrade minor or patch versions of dependencies in go.mod.
    • -d to download only, not build or install anything.
    • Indirect dependencies are pinned.
  • Cleanup dependencies: go mod tidy
    • Unused dependencies are removed from go.mod.
  • Lint (using golint): golint ./...
  • Vet: go vet ./...
  • Build: go build -o <binary> <main-file>

{% include footer.md %}