Documentation ¶
Index ¶
- func AppVeyorBranch(repo, branch string) c.VersionExtractorFunc
- func GitHubRelease(repo string, tagRe *regexp.Regexp) c.VersionExtractorFunc
- func GitHubTag(repo string, tagRe *regexp.Regexp) c.VersionExtractorFunc
- func HTML(url string, versionSelector, versionAttr string, versionRe *regexp.Regexp) c.VersionExtractorFunc
- func Latest() c.VersionExtractorFunc
- func LatestS(suffix string) c.VersionExtractorFunc
- func Regexp(url string, versionRe *regexp.Regexp) c.VersionExtractorFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppVeyorBranch ¶
func AppVeyorBranch(repo, branch string) c.VersionExtractorFunc
AppVeyorBranch returns a version extractor for an AppVeyor branch.
func GitHubRelease ¶
func GitHubRelease(repo string, tagRe *regexp.Regexp) c.VersionExtractorFunc
GitHubRelease returns a version extractor for a GitHub release.
func GitHubTag ¶
func GitHubTag(repo string, tagRe *regexp.Regexp) c.VersionExtractorFunc
GitHubTag returns a version extractor for a GitHub tag.
func HTML ¶
func HTML(url string, versionSelector, versionAttr string, versionRe *regexp.Regexp) c.VersionExtractorFunc
HTML returns a version extractor for the first match of a css selector, an attribute (or innerText for the text), and an optional regexp on the attribute.
func LatestS ¶
func LatestS(suffix string) c.VersionExtractorFunc
LatestS returns the version latest with a suffix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.