Documentation ¶ Overview ¶ Package version provides a runner to check the latest version of the application. Index ¶ type Runner func NewRunner(store *store.Store, profile *profile.Profile) *Runner func (r *Runner) Check(ctx context.Context) func (*Runner) GetLatestVersion() (string, error) func (r *Runner) Run(ctx context.Context) func (r *Runner) RunOnce(ctx context.Context) 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) Source Files ¶ View all Source files runner.go Click to show internal directories. Click to hide internal directories.