package
1.1.4
Repository: https://github.com/base-go/cmd.git
Documentation: pkg.go.dev

# Functions

CheckForUpdates checks GitHub for newer releases.
CheckForUpdates checks if there's a newer version available.
CheckLatestVersion checks GitHub for newer releases.
FormatUpdateMessage returns a formatted update message.
GetBuildInfo returns all version information.
HasUpdate checks if the current version is behind the latest release.
PrintUpdateMessage prints update message if a new version is available.

# Constants

VersionCheckURL is the URL to check for latest commit.

# Variables

BuildDate is the date when the binary was built.
CommitHash is the git commit hash at build time.
GoVersion is the version of Go used to build the binary.
Version is the current version of Base CLI.

# Structs

Asset represents a release asset.
BuildInfo contains all version information.
CommitInfo represents the GitHub commit response.
GithubRelease represents a GitHub release.
Release represents a GitHub release.