Documentation ¶ Index ¶ func Is(version string) bool type Info func Check(ctx context.Context, version string) (Info, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Is ¶ func Is(version string) bool Types ¶ type Info ¶ type Info struct { CurrentVersion string LatestVersion string LatestVersionURL string UpdateAvailable bool } func Check ¶ func Check(ctx context.Context, version string) (Info, error) Check checks for the latest release and returns an Info struct containing the current version, latest version, if the current version is a release, and if an update is available. Source Files ¶ View all Source files check.go Click to show internal directories. Click to hide internal directories.