version

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check() (string, string)

Check returns the current and latest available version.

func FormatOutput

func FormatOutput(current, latest string) string

FormatOutput formats the version information for display.

Types

type GitHubRelease

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

GitHubRelease represents the structure of a GitHub release response.

Jump to

Keyboard shortcuts

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