Documentation ¶ Index ¶ func CompleteTask(dbName string, id int) func DeleteAll(dbName string) func Prepare(db *sql.DB, query string) *sql.Stmt func QueryAll(dbName string) []models.Task func QueryOne(dbName string, id int) models.Task func WriteDB(dbName string, task string, complete bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CompleteTask ¶ func CompleteTask(dbName string, id int) func DeleteAll ¶ func DeleteAll(dbName string) func Prepare ¶ func Prepare(db *sql.DB, query string) *sql.Stmt func QueryAll ¶ func QueryAll(dbName string) []models.Task func QueryOne ¶ func QueryOne(dbName string, id int) models.Task func WriteDB ¶ func WriteDB(dbName string, task string, complete bool) Types ¶ This section is empty. Source Files ¶ View all Source files complete_task.go delete.go prepare.go query.go write.go Click to show internal directories. Click to hide internal directories.