constabulary / gb

gb, the project based build tool for Go
https://getgb.io/
MIT License
2.15k stars 150 forks source link

internal/version: introduce version package for constant #714

Closed davecheney closed 7 years ago

davecheney commented 7 years ago

Introduce an internal package, internal/version to hold the Go version constant. This probably won't matter after 0.5 drops support for Go 1.7 and earlier, but this refactoring makes it clear that the constant is defined in one place, so we can delete it in one place.