Documentation ¶ Index ¶ type Database func NewDatabase() Database type Entry type Updater func NewUpdater(path string, preHooks []string, updateCommands []string, postHooks []string, ...) *Updater func (u *Updater) Update() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Database ¶ type Database interface { AddEntry(Entry) error GetEntry(Entry) (Entry, error) } func NewDatabase ¶ func NewDatabase() Database type Entry ¶ type Entry struct { ModuleName string `db:"name"` Commit string `db:"git_commit"` Updated bool `db:"updated"` } type Updater ¶ type Updater struct { // contains filtered or unexported fields } func NewUpdater ¶ func NewUpdater(path string, preHooks []string, updateCommands []string, postHooks []string, db Database) *Updater func (*Updater) Update ¶ func (u *Updater) Update() error Source Files ¶ View all Source files updateDB.go updater.go Click to show internal directories. Click to hide internal directories.