Get the latest tech news
Go's old $GOPATH story for development and dependencies
generally tell the story today, Go was originally developed without support for dependency management. Various community efforts evolved over time and then were swept away in 2019 by Go Modules, which finally added core support for dependency management.
Various community efforts evolved over time and then were swept away in 2019 by Go Modules, which finally added core support for dependency management. While you can try to update a dependency and then roll it back (since you normally have its checked out repository with full history), Go won't help you by remembering the identity of the old, working version. However, Go did add'experimental' support for vendoring dependencies in Go 1.5, which allowed people to create self-contained objects that could be used with 'go get' or other simple repository copying and cloning.
Or read this on Hacker News