Difference between revisions of "Go install"

From wikieduonline
Jump to navigation Jump to search
Line 18: Line 18:
  
 
== Paths ==
 
== Paths ==
Executables are installed in the directory named by the GOBIN environment
+
[[~/go/pkg/mod/]]
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 ==
 
== Related ==

Revision as of 12:23, 12 December 2023

Advertising: