Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteNote(db *sql.DB, id int64) error
- func GetNoteContents(db *sql.DB, id int64) ([]byte, error)
- func Initialize(path string) (*sql.DB, error)
- func SetNoteContents(db *sql.DB, id int64, content []byte) error
- func UpdateNote(db *sql.DB, id int64, title string) error
- type IndexEntry
Constants ¶
View Source
const (
CONTENT_SQL = 1
)
Variables ¶
View Source
var ( //go:embed files/create_notes_tables.sql CREATE_NOTES_TABLES_SQL string )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.