github

package
v0.1.0-beta.41 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchLatestVersion

func FetchLatestVersion(ctx context.Context) (string, error)

FetchLatestVersion fetches the latest release version from GitHub. It first tries to get the latest stable release, and if none exists, falls back to the most recent release (including prereleases/betas).

Types

type Release

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

Jump to

Keyboard shortcuts

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