Documentation
¶
Index ¶
Constants ¶
View Source
const CHANGE_MARK_SQL = `UPDATE mark SET mark=?, description=?, color=?, icon=? WHERE id=?;`
View Source
const CREATE_MARK_TABLE_SQL = `` /* 248-byte string literal not displayed */
View Source
const DELETE_MARK_SQL = `DELETE FROM mark WHERE id = ?;`
View Source
const INSERT_MARK_SQL = `INSERT INTO mark (mark, description, color, icon) VALUES(?,?,?,?);`
View Source
const QUERY_MARK_SQL = `SELECT * FROM mark WHERE id=?;`
View Source
const RENAME_MARK_SQL = `UPDATE mark SET mark=? WHERE id=?;`
View Source
const TABLE_FILE_NAME = "mark.db"
Variables ¶
This section is empty.
Functions ¶
func ChangeMark ¶
func Connection ¶
func CreateTable ¶
func CreateTable()
func GetMarkTable ¶
func InsertMark ¶
func InsertMark(data CreateMark) bool
func RemoveMark ¶
func RenameMark ¶
Types ¶
type CreateMark ¶
Click to show internal directories.
Click to hide internal directories.