versions

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalVersions

func GetLocalVersions(binary string) ([]*version.Version, error)

func GetRemoteVersions

func GetRemoteVersions(endpoint string) ([]*version.Version, error)

func PrintVersions

func PrintVersions(versions []*version.Version)

func SortVersions

func SortVersions(versions []*version.Version, allReleases bool, allVersions bool) ([]*version.Version, error)

Types

type Page

type Page struct {
	Release string `json:"tag_name"`
}

Jump to

Keyboard shortcuts

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