package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: May 1, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package latest contains helper methods of all kinds
All simply passes through all Releases
ExpandRepo checks whether "repo" contains a "/", and expands to
"repo/repo" otherwise.
NoPrereleases filters out all Release that are prereleases
OnlyPrerelease filters out all Release that are NOT prereleases
Filter represents a function that filters releases for certain criteria
type Release struct {
TagName string `json:"tag_name"`
Prerelease bool `json:"prerelease"`
}
Release contains relevant fields of a GitHub release
Latest reads all releases from IN and returns the latest
Releases represents a list of releases :tada:
Emit spews out all releases in a channel
Source Files
¶
Click to show internal directories.
Click to hide internal directories.