Giter Site home page Giter Site logo

Run golds command about golds HOT 7 CLOSED

go101 avatar go101 commented on August 20, 2024
Run golds command

from golds.

Comments (7)

zigo101 avatar zigo101 commented on August 20, 2024 1

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.

from golds.

zigo101 avatar zigo101 commented on August 20, 2024

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?

from golds.

zigo101 avatar zigo101 commented on August 20, 2024

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

from golds.

dd8888 avatar dd8888 commented on August 20, 2024

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 ."

from golds.

dd8888 avatar dd8888 commented on August 20, 2024

Also, is there any way I get only the packages from line 43 to line 47? The ones I created for my project.
Captura de pantalla 2020-11-18 a las 12 26 18

from golds.

zigo101 avatar zigo101 commented on August 20, 2024

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?

from golds.

dd8888 avatar dd8888 commented on August 20, 2024

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!

from golds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.