mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:22:09 +02:00
parent
6f6d15a034
commit
16c3791dd9
1 changed files with 16 additions and 0 deletions
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…
Add table
Reference in a new issue