Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidSemVer is returned a version is found to be invalid when // being parsed. ErrInvalidSemVer = semver.ErrInvalidSemVer // ErrSegmentStartsZero is returned when a version segment starts with 0. // This is invalid in SemVer. ErrSegmentStartsZero = semver.ErrSegmentStartsZero // ErrInvalidMetadata is returned when the metadata is an invalid format. ErrInvalidMetadata = semver.ErrInvalidMetadata // ErrInvalidPrerelease is returned when the pre-release is an invalid format. ErrInvalidPrerelease = semver.ErrInvalidPrerelease )
Functions ¶
This section is empty.
Types ¶
type Constraints ¶
type Constraints = semver.Constraints
func NewConstraint ¶
func NewConstraint(str string) (*Constraints, error)
Click to show internal directories.
Click to hide internal directories.