mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
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}}`
|
Loading…
Reference in New Issue
Block a user