Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Tag = "v0.0.0-dev"
)
Functions ¶
func CurrentInRange ¶ added in v0.27.0
CurrentInRange reports whether the running Obot version falls within the inclusive range [minVersion, maxVersion]. See InRange.
func InRange ¶ added in v0.27.0
InRange reports whether the Obot version tag falls within the inclusive range [minVersion, maxVersion]. Empty bounds are unrestricted. Development builds and invalid bounds are always in range. Pre-release and build metadata on tag are ignored, so a release candidate is treated as the release it precedes.
func ValidateRange ¶ added in v0.27.0
ValidateRange checks that minVersion and maxVersion are full release versions (MAJOR.MINOR.PATCH) and that minVersion is not greater than maxVersion. Empty values are allowed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.