state

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStateFilePath

func GetStateFilePath() (string, error)

Types

type State

type State struct {
	LatestVersion string    `json:"latest_version"`
	CheckedFor    string    `json:"checked_for"`
	LastCheck     time.Time `json:"last_check"`
}

func Load

func Load() (*State, error)

func (*State) Save

func (s *State) Save() error

Jump to

Keyboard shortcuts

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