v

package
v0.0.0-...-0161461 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 Latest

func Latest() c.VersionExtractorFunc

Latest always returns the version latest.

func LatestS

func LatestS(suffix string) c.VersionExtractorFunc

LatestS returns the version latest with a suffix.

func Regexp

func Regexp(url string, versionRe *regexp.Regexp) c.VersionExtractorFunc

Regexp returns a version extractor for the first match of a regex.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL