github

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllReleases

func GetAllReleases() (*api.RawResponse, error)

GetAllReleases - Get all Ironstar CLI releases

func GetLatestRelease

func GetLatestRelease() (*api.RawResponse, error)

GetLatestRelease - Get latest Ironstar CLI release

func GetRelease

func GetRelease(version string) (*api.RawResponse, error)

GetRelease - Get an Ironstar CLI release

Types

type ReleaseBody

type ReleaseBody struct {
	TagName    string `json:"tag_name"`
	HTMLURL    string `json:"html_url"`
	Prerelease bool   `json:"prerelease"`
	Draft      bool   `json:"draft"`
	Assets     []struct {
		Name string `json:"name"`
		URL  string `json:"browser_download_url"`
	}
}

ReleaseBody - Used properties from the GH API GET call

Jump to

Keyboard shortcuts

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