Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SemVerRegex = regexp.MustCompile(`^(<=|<|>|>=|\^)?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$`)
Functions ¶
func ExtractMod ¶ added in v0.0.9
Types ¶
type GenericProgress ¶ added in v0.2.0
func (GenericProgress) Percentage ¶ added in v0.2.0
func (gp GenericProgress) Percentage() float64
type Progresser ¶ added in v0.0.9
type Progresser struct { Updates chan<- GenericProgress Total int64 Running int64 }
Click to show internal directories.
Click to hide internal directories.