working my go project i need toset GOPATH=D:\projects\go\my project
and thenset GOBIN=D:\projects\go\my project\bin
that is okey
then working on an other project same process a gain
so is there is away of setting only GOPATH
and automatically GOBIN becomes GOPATH\bin
GOBIN
should by default be GOPATH/bin
, so you don't have to do anything
See "GOPATH
environment variable"
DIR
is a directory listed in theGOPATH
If the
GOBIN
environment variable is set, commands are installed to the directory it names instead of DIR/bin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With