logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

go - tool for managing Go source code

Additional Help Topics

buildconstraint
              build constraints

       buildmode
              build modes

       c      calling between Go and C

       cache  build and test caching

       environment
              environment variables

       filetype
              file types

       go.mod the go.mod file

       gopath GOPATH environment variable

       gopath-get
              legacy GOPATH go get

       goproxy
              module proxy protocol

       importpath
              import path syntax

       modules
              modules, module versions, and more

       module-get
              module-aware go get

       module-auth
              module authentication using go.sum

       packages
              package lists and patterns

       private
              configuration for downloading non-public code

       testflag
              testing flags

       testfunc
              testing functions

       vcs    controlling version control with GOVCS

       Use "go help <topic>" for more information about that topic.

Author

       This manual page was written by Michael Stapelberg  <stapelberg@debian.org>  and  is  maintained  by  the
       Debian  Go  Compiler  Team <team+go-compiler@tracker.debian.org> based on the output of ‘go help’ for the
       Debian project (and may be used by others).

                                                   2022-03-15                                              GO(1)

Commands

       Each  command  is  documented  in  its  own  manpage. For example, the build command is documented in go-build(1). The commands are:

       bug    start a bug report

       build  compile packages and dependencies

       clean  remove object files and cached files

       doc    show documentation for package or symbol

       env    print Go environment information

       fix    update packages to use new APIs

       fmt    gofmt (reformat) package sources

       generate
              generate Go files by processing source

       get    add dependencies to current module and install them

       install
              compile and install packages and dependencies

       list   list packages or modules

       mod    module maintenance

       work   workspace maintenance

       run    compile and run Go program

       test   test packages

       tool   run specified go tool

       version
              print Go version

       vet    report likely mistakes in packages

       Use "go help <command>" for more information about a command.

Description

       The Go distribution includes a command, named go, that automates the downloading, building, installation,
       and testing of Go packages and commands.

Name

       go - tool for managing Go source code

See Also

go-build(1), go-clean(1).

Synopsis

go command [arguments]

See Also