release

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReleaseGetter

func NewReleaseGetter(repo, owner string) *githubReleaseGetter

Types

type Asset

type Asset struct {
	Name               string `json:"name"`
	BrowserDownloadURL string `json:"browser_download_url"`
}

type Getter

type Getter interface {
	GetLatestRelease(ctx context.Context) (*Info, error)
}

type Info

type Info struct {
	TagName string  `json:"tag_name"`
	Assets  []Asset `json:"assets"`
}

Info holds information about a release.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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