'go get' to 'go install'

This commit is contained in:
opxyc 2021-10-23 20:58:59 +05:30
parent c1973d31bf
commit b6e9e95bd7

View file

@ -5,7 +5,7 @@ commands you want. It's the easiest way to incorporate Cobra into your applicati
In order to use the cobra command, compile it using the following command: In order to use the cobra command, compile it using the following command:
go get github.com/spf13/cobra/cobra go install github.com/spf13/cobra/cobra@latest
This will create the cobra executable under your `$GOPATH/bin` directory. This will create the cobra executable under your `$GOPATH/bin` directory.