Documentation
¶
Index ¶
Constants ¶
View Source
const SelectStatement = "SELECT taskID, title, done FROM Task WHERE done = ?"
Variables ¶
View Source
var FileCreate = os.Create
Functions ¶
func CreateTaskTable ¶
func CreateTaskTable(db SQLDB)
Types ¶
type FileCreatorHelper ¶
type FileCreatorHelper struct{}
type SQLDB ¶
type SQLDB interface {
Exec(query string, args ...interface{}) (sql.Result, error)
Query(query string, args ...interface{}) (rowScanner, error)
Close() error
}
func CreateSQLiteDB ¶
type TaskStruct ¶
type TaskStruct struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.