version

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package version provides a runner to check the latest version of the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	Store   *store.Store
	Profile *profile.Profile
}

func NewRunner

func NewRunner(store *store.Store, profile *profile.Profile) *Runner

func (*Runner) Check

func (r *Runner) Check(ctx context.Context)

func (*Runner) GetLatestVersion

func (*Runner) GetLatestVersion() (string, error)

func (*Runner) Run

func (r *Runner) Run(ctx context.Context)

func (*Runner) RunOnce

func (r *Runner) RunOnce(ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳