notify

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaybePrintUpdateText

func MaybePrintUpdateText(output io.Writer, url string, lastUpdatePath string)

MaybePrintUpdateText prints update text if needed

func MaybePrintUpdateTextFromGithub

func MaybePrintUpdateTextFromGithub(output io.Writer)

MaybePrintUpdateTextFromGithub prints update text if needed, from github

Types

type Release added in v0.11.0

type Release struct {
	Name      string
	Checksums map[string]string
}

Release represents a release

type Releases added in v0.11.0

type Releases []Release

Releases represents several release

func GetAllVersionsFromURL added in v0.11.0

func GetAllVersionsFromURL(url string) (Releases, error)

GetAllVersionsFromURL get all versions from a JSON URL

Jump to

Keyboard shortcuts

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