Presenter: Aaron Schlessinger
Liveblogger: Christina Forney
Go 1.11 was a big release for all of us because we got a new package management system called modules built right into the go CLI. If you tried out vgo before 1.11, you’ll be familiar with modules. There’s some really cool stuff in there, but there’s one piece that a lot of us missed that we need to pay special attention to: the download API.
Modules solved a lot, but there’s still work to do.
go getfetches dependencies by doing a git clone against VCS systems - It is simple, and works well
When you don’t have access to the Go modules you need for your app, everything falls apart. Here’s how that can happen:
git push —delete origin v1.0.2
Aaron Schlesinger is a core maintainer of the Athens project, works at Microsoft rewriting Windows 95 in Go. Athens helps them remove the risk.
This tool fixes these issues and is purpose-built for Go dependencies.
It is 5 REST API endpoints:
Get latest version
Get the mod file
Get basic module metadata
Get module code frozen at a version, in a zip archive