update

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareLatestVersion

func CompareLatestVersion() (string, bool)

比较版本号

func RegisterUpdateCommandAction

func RegisterUpdateCommandAction() func(context *cli.Context) error

Types

type LatestReleaseType

type LatestReleaseType struct {
	Url             string        `json:"url"`
	HtmlUrl         string        `json:"html_url"`
	AssetsUrl       string        `json:"assets_url"`
	UploadUrl       string        `json:"upload_url"`
	TarballUrl      string        `json:"tarball_url"`
	ZipballUrl      string        `json:"zipball_url"`
	Id              int           `json:"id"`
	NodeId          string        `json:"node_id"`
	TagName         string        `json:"tag_name"`
	TargetCommitish string        `json:"target_commitish"`
	Name            string        `json:"name"`
	Body            string        `json:"body"`
	Draft           bool          `json:"draft"`
	Prerelease      bool          `json:"prerelease"`
	CreatedAt       string        `json:"created_at"`
	PublishedAt     string        `json:"published_at"`
	Author          interface{}   `json:"author"`
	Assets          []interface{} `json:"assets"`
}

Jump to

Keyboard shortcuts

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