Run golds command
dd8888 opened this issue · 7 comments
I cannot get to run golds, or maybe I just didn't understand how to do it.
On my projects directory:
- I set the go111module environment variable as on
- I run "go get -u go101.org/golds" and everything seems fine.
Now if I run the command "golds ." I get the error "command not found: golds".
Am I missing something? Thank you in advance.
The go get
command will install binaries into the bin
subfolder under the first path specified in GOPATH
env var (which default value is $HOME/go
. So it looks the $HOME/go/bin
is not set in your PATH
env var. Could do you check if this is true?
BTW, you can also set the GOBIN
env var to a path which is already specified in the PATH
env var to make golds
findable before running the go get
and go install
commands.
# assume on Linux and $HOME/bin is in PATH
go env -w GOBIN=$HOME/bin
Thanks for the response! Actually the "golds" command does exist inside de go/bin folder. I made it work by using "/Users/myuser/go/bin/golds ."
I made it work by using "/Users/myuser/go/bin/golds ."
You can add /Users/myuser/go/bin/
to your PATH
environment variable to run golds
without the /Users/myuser/go/bin/
prefix. After the adding, you need to open a new terminal window to apply the change.
is there any way I get only the packages from line 43 to line 47?
Is it acceptable that if these 5 lines are placed at the beginning of the list?
Ok thank you!
Is it acceptable that if these 5 lines are placed at the beginning of the list?
Yes I saw the "-emphasize-wdpkgs" option, I will make it work. Thank you for your time!
BTW, the "-emphasize-wdpkgs" option only worked for docs-generation mode before. I just pushed a new commit to make it also work for non-docs-generation mode now. You need to clone the code and run "go install" to reflect the effect.