version

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Template = fmt.Sprintf("farmhub version %s\n", Version)

Template for the version string.

View Source
var Version = "main"

Version of the CLI. This is set to the actual version by GoReleaser, identify by the git tag assigned to the release. Versions built from source will always show main.

Functions

func CheckLatestVersion

func CheckLatestVersion()

CheckLatestVersion makes a request to the GitHub API to pull the latest release of the CLI

Types

This section is empty.

Jump to

Keyboard shortcuts

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