Difference between revisions of "Go install"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
  go install
 
  go install
 
  go: cloud.google.com/go/[email protected]: Get "https://proxy.golang.org/cloud.google.com/go/storage/@v/v1.11.0.mod": [[net/http: TLS handshake timeout]]
 
  go: cloud.google.com/go/[email protected]: Get "https://proxy.golang.org/cloud.google.com/go/storage/@v/v1.11.0.mod": [[net/http: TLS handshake timeout]]
 +
 +
== 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 ==
 
== Related ==

Revision as of 12:18, 12 December 2023

go help install
go install github.com/cosmos/tools/cmd/runsim@v1.0.0
go install github.com/flashbots/mev-boost@latest
go install golang.org/x/perf/cmd/benchstat@latest
 go install -v

Errors

go install
go: cloud.google.com/go/[email protected]: Get "https://proxy.golang.org/cloud.google.com/go/storage/@v/v1.11.0.mod": net/http: TLS handshake timeout

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: