Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
func NewVersion ¶
func (*Version) MarshalText ¶
MarshalText makes Version satisfy the encoding.TextMarshaler interface.
func (*Version) SupportsVersion ¶
SupportsVersion determines whether this version supports a given version. If comparing two pre-stable (major == 0) versions, minors must match exactly. Otherwise, this minor must be greater than or equal to the given minor. Majors must always match.
func (*Version) UnmarshalText ¶
UnmarshalText makes Version satisfy the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.