Sayan Chowdhury: -d in go get

Saturday, I am sitting at a Starbucks in Bangalore, trying my hands on a Golang project. I come across this argument -d in go get:

The go cli help says:

The -d flag instructs get to stop after downloading the packages; that is,
it instructs get not to install the packages.

Wonderful! So, if you just want to download the golang project for the sake of contributing, you can use:

go get -d

… and it will download the package for you, after which you can start working on the project.

Source From:
Original article title: Sayan Chowdhury: -d in go get.
This full article can be read at: Sayan Chowdhury: -d in go get.


Random Article You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *