Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Major version number
Major = 1
// Minor version number
Minor = 2
)
Variables ¶
View Source
var (
// Build number
Build string
)
Functions ¶
func Compatible ¶
func Compatible(v string) (bool, error)
Compatible returns true if Major matches the major version of the given version string. It returns an error if the given string is not a valid version string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.