Goのビルドシステムの変遷 / The history of Go’s build system

© 2025, Amazon Web Services, Inc. or its affiliates. All

rights reserved. 20 パッケージのバージョンに関するFAQ (Go 1.2-1.10) How should I manage package versions using “go get”? ”Go get” does not have any explicit concept of package versions. Versioning is a source of significant complexity, especially in large code bases, and we are unaware of any approach that works well at scale in a large enough variety of situations to be appropriate to force on all Go users. What “go get” and the larger Go toolchain do provide is isolation of packages with different import paths. For example, the standard library’s html/template and text/template coexist even though both are “package template”. This observation leads to some advice for package authors and package users. 意訳: バージョン管理を導⼊するとおかしくなるから、必要なものの必要な状態はすべてスナップショットを リポジトリに⼊れとけ




元の記事を確認する

関連記事