Documentation
¶
Index ¶
- Constants
- func NormalizeStringP(s *string) *string
- type Alias
- type DB
- func (db *DB) Close()
- func (db DB) EnsureTooltrackerTables() error
- func (db DB) GetDelegatedEmailFor(from string) string
- func (db DB) GetItems() []Item
- func (db DB) GetTool(name string) (tool Tool)
- func (db DB) UpdateAlias(alias Alias)
- func (db DB) UpdateLocation(location Location)
- func (db DB) UpdateTool(tool Tool)
- type Item
- type Location
- type Tool
Constants ¶
View Source
const ( FlagDbDefault = "tooltracker.db" FlagDbDescription = "path to sqlite3 file to create/use" )
Variables ¶
This section is empty.
Functions ¶
func NormalizeStringP ¶
Represent "" as nil, and trim spaces.
Types ¶
type DB ¶
func (DB) EnsureTooltrackerTables ¶
func (DB) GetDelegatedEmailFor ¶
func (DB) UpdateAlias ¶
func (DB) UpdateLocation ¶
func (DB) UpdateTool ¶
Click to show internal directories.
Click to hide internal directories.