Documentation ¶
Index ¶
Constants ¶
View Source
const (
VersionFileName = "versions.json"
)
Variables ¶
This section is empty.
Functions ¶
func FormatTime ¶
FormatTime :: format time as RFC3339 in UTC
Types ¶
type InstalledVersion ¶
type VersionFile ¶
type VersionFile struct { Plugins map[string]*InstalledVersion `json:"plugins"` FdwExtension InstalledVersion `json:"fdwExtension"` EmbeddedDB InstalledVersion `json:"embeddedDB"` }
func Load ¶
func Load() (*VersionFile, error)
Load :: load the config file from the standard path, or return an empty one
func (*VersionFile) Save ¶
func (f *VersionFile) Save() error
Save :: Save the config file from the standard path, or return an empty one
Click to show internal directories.
Click to hide internal directories.