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

17 lines
487 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 get
> Bir bağımlılık paketi ekle veya eski GOPATH modunda paket indir.
> Daha fazla bilgi için: <https://pkg.go.dev/cmd/go#hdr-Add_dependencies_to_current_module_and_install_them>.
- `go.mod`'a modül modunda (module-mode) belirtilen bir paket ekle veya paketi GOPATH modunda indir:
`go get {{ornek.com/pkg}}`
- Paketi module-aware modunda belirtilen sürümde düzenle:
`go get {{ornek.com/pkg}}@{{v1.2.3}}`
- Belirtilen paketi sil:
`go get {{ornek.com/pkg}}@{{none}}`