update

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Platform

func Platform() string

Platform returns the current platform identifier.

func Summary

func Summary(currentVersion string) string

Summary returns a formatted update summary.

Types

type ReleaseInfo

type ReleaseInfo struct {
	TagName string `json:"tag_name"`
	Name    string `json:"name"`
	Body    string `json:"body"`
	URL     string `json:"html_url"`
}

ReleaseInfo represents a GitHub release.

func Check

func Check(currentVersion string) (*ReleaseInfo, error)

Check checks for available updates.

Jump to

Keyboard shortcuts

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