Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MaxLen is the max length of version string
MaxLen = 100
)
Variables ¶
This section is empty.
Functions ¶
func Compare ¶
Compare compare v1 and v2, and return >0: v1 has higher version =0: equal <0: v2 has higher version
func CompareFunc ¶
CompareFunc use custom func to compare two versions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.