Wildcard Routing: One Rule to Manage 50 Go Modules
The Route Tax You’ve adopted vanity URLs for your Go modules. Clean import paths, platform-independent, looking good: import "go.mycorp.com/auth" import "go.mycorp.com/config" import "go.mycorp.com/logger" Then your team grows. New services get created every sprint. And every single one needs its own gvu add command: gvu add go.mycorp.com/auth https://github.com/mycorp/auth.git gvu add go.mycorp.com/config https://github.com/mycorp/config.git gvu add go.mycorp.com/logger https://github.com/mycorp/logger.git gvu add go.mycorp.com/cache https://github.com/mycorp/cache.git gvu add go.mycorp.com/queue https://github.com/mycorp/queue.git # ... 45 more Fifty repos. Fifty routes. Every new repo means a pull request to update the routing config. Someone forgets? The new service’s go get fails and the team is blocked. ...