version

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package version deals with versioning of the software

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	CurrentVersion       string `json:"current_version"`
	GithubVersion        string `json:"github_version"`
	UpgradeAvailable     bool   `json:"upgrade_available"`
	GithubVersionFetched bool   `json:"-"`
}

type Manager added in v1.0.0

type Manager struct {
	VersionInfo Info
	// contains filtered or unexported fields
}

func (*Manager) GetInfo added in v1.0.0

func (m *Manager) GetInfo() Info

func (*Manager) UpdateGitHubVersion added in v1.0.0

func (m *Manager) UpdateGitHubVersion() error

Jump to

Keyboard shortcuts

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