Documentation
¶
Index ¶
- func CreateArticle(db *sql.DB, title string, content string) error
- func CreateDB(dbPath string)
- func CreateDataFolder(blogDataFolder string, dbPath string)
- func CreateTable(db *sql.DB)
- func DeleteArticle(db *sql.DB, articleId string) error
- func OpenDB(dbPath string) (*sql.DB, error)
- func UpdateArticle(db *sql.DB, articleId string, title string, content string) error
- type Article
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDataFolder ¶
func CreateTable ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.