
committed by
Starbeamrainbowlabs

parent
6f6d15a034
commit
16c3791dd9
16
pages/common/go-env.md
Normal file
16
pages/common/go-env.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# go env
|
||||||
|
|
||||||
|
> Tool for printing Go environment information.
|
||||||
|
> More information: <https://golang.org/cmd/go/>.
|
||||||
|
|
||||||
|
- Show all go environment information:
|
||||||
|
|
||||||
|
`go env`
|
||||||
|
|
||||||
|
- Show specific environment variable:
|
||||||
|
|
||||||
|
`go env {{GOPATH}}`
|
||||||
|
|
||||||
|
- Set go environment value:
|
||||||
|
|
||||||
|
`go env -w {{NAME}}={{VALUE}}`
|
Reference in New Issue
Block a user