Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct { ID string LatestURL string LatestVersion version.Version // Latest version is most up-to-date CurrentURL string CurrentVersion version.Version // Current version is installed on system. Dependencies []string UpToDate bool }
Entry contains the information for a single package from the database.
func New ¶
func New(id string, latest string, latestv version.Version, current string, currentv version.Version, up2date bool) *Entry
New creates a new Database Entry structure to store data in.
func (Entry) PrintEntry ¶ added in v1.1.0
func (e Entry) PrintEntry()
PrintEntry formats a result object correctly to print
Click to show internal directories.
Click to hide internal directories.