Files
tldr/pages.tr/common/go-env.md
2022-10-31 07:06:43 -03:00

21 lines
435 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# go env
> Go toolchain'in kullandığı ortam değişkenlerini yönet.
> Daha fazla bilgi için: <https://golang.org/cmd/go/#hdr-Print_Go_environment_information>.
- Tüm ortam değişkenlerini göster:
`go env`
- Belirtilen ortam değişkenlerini göster:
`go env {{GOPATH}}`
- Bir değere ortam değişkeni ata:
`go env -w {{GOBIN}}={{örnek/konum/dizin}}`
- Ortam değişkeninin değerini sıfırla:
`go env -u {{GOBIN}}`