go install

From wikieduonline
Revision as of 12:22, 12 December 2023 by Welcome (talk | contribs)
Jump to navigation Jump to search

Errors

Paths

Executables are installed in the directory named by the GOBIN environment variable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH environment variable is not set. Executables in $GOROOT are installed in $GOROOT/bin or $GOTOOLDIR instead of $GOBIN.

Related

See also

Advertising: