version

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(buildConfig *config.BuildVars) error

init sets the exported object

Types

type GitlabRelease

type GitlabRelease struct {
	Name            string    `json:"name"`
	Tag             string    `json:"tag_name"`
	CreatedAt       time.Time `json:"created_at"`
	ReleasedAt      time.Time `json:"released_at"`
	UpcomingRelease bool      `json:"upcoming_release"`
}

type Version

type Version struct {
	Current *semver.Version
	// contains filtered or unexported fields
}
var (
	Trackarr *Version
)

func (*Version) IsLatest

func (v *Version) IsLatest() (bool, *semver.Version)

Jump to

Keyboard shortcuts

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