Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Constraint ¶
type Constraint []NumConstraint
func SemVerConstraint ¶
func SemVerConstraint(major, minor, patch int) Constraint
func (Constraint) Check ¶
func (vc Constraint) Check(v ...int) error
type NumAtLeast ¶
func (NumAtLeast) Check ¶
func (vnc NumAtLeast) Check(v int) error
type NumExact ¶
type SemVerPart ¶
type SemVerPart int
const ( SemVerMajor SemVerPart = iota SemVerMinor SemVerPatch SemVerPreRelease SemVerMeta )
func (SemVerPart) String ¶
func (svp SemVerPart) String() string
Click to show internal directories.
Click to hide internal directories.