Documentation ¶
Index ¶
- Constants
- type Db
- func (db *Db) Close()
- func (db *Db) DeleteTodo(todo *models.Todo) bool
- func (db *Db) Drop() bool
- func (db *Db) ExportData() bool
- func (db *Db) GetAllTodos() []models.Todo
- func (db *Db) ImportData() bool
- func (db *Db) InsertTodo(todo *models.Todo) (*time.Time, bool)
- func (db *Db) UpdateTodo(todo *models.Todo) bool
- type IDb
Constants ¶
View Source
const FTODO_TABLE_NAME = "ftodos"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
type Db struct {
// contains filtered or unexported fields
}
func (*Db) ExportData ¶
func (*Db) GetAllTodos ¶
func (*Db) ImportData ¶
Click to show internal directories.
Click to hide internal directories.