Documentation
¶
Overview ¶
Package version provides version information
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application represents an application version
func (*Application) Compare ¶
func (v *Application) Compare(other *Application) int
Compare compares two versions Returns -1 if v < other, 0 if v == other, 1 if v > other
func (*Application) Compatible ¶
func (v *Application) Compatible(other *Application) bool
Compatible returns whether versions are compatible
func (*Application) String ¶
func (v *Application) String() string
String returns the version string
Click to show internal directories.
Click to hide internal directories.