version.go (532B)
1 package specs 2 3 import "fmt" 4 5 const ( 6 // VersionMajor is for an API incompatible changes 7 VersionMajor = 1 8 // VersionMinor is for functionality in a backwards-compatible manner 9 VersionMinor = 0 10 // VersionPatch is for backwards-compatible bug fixes 11 VersionPatch = 2 12 13 // VersionDev indicates development branch. Releases will be empty string. 14 VersionDev = "" 15 ) 16 17 // Version is the specification version that the package types support. 18 var Version = fmt.Sprintf("%d.%d.%d%s", VersionMajor, VersionMinor, VersionPatch, VersionDev)