versioning

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CurrentVersion = "v0.0.4"

CurrentVersion is the name of the current release of `jit`.

Variables

This section is empty.

Functions

func CheckNewRelease

func CheckNewRelease()

CheckNewRelease shows a log message to the user if a new version is available.

func FetchReleases

func FetchReleases() (*[]Release, error)

FetchReleases returns the list of available `jit` releases from GitHub.

Types

type Release

type Release struct {
	URL     string `json:"html_url"`
	TagName string `json:"tag_name"`
}

Release is one particular release of `jit`.

Jump to

Keyboard shortcuts

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