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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of development

development

Photo of Dependencies

Dependencies

Photo of GOPATH story

GOPATH story

Related news:

News photo

Leaks seem to confirm Hellblade 3 is already greenlit and ready to go into development

News photo

Biden-Harris Administration Announces $71M Investment to Advance American Solar Manufacturing and Development

News photo

Total War: Star Wars reportedly in development at Creative Assembly