Documentation ¶
Index ¶
- func Create(db *sql.DB)
- func Delete(db *sql.DB, Url string) (bool, error)
- func Insert(db *sql.DB, A Article) error
- func SelectTags(db *sql.DB, IsPublic bool) ([][]string, error)
- func SelectsLength(db *sql.DB, c Condition, IsPublic bool) (int, error)
- func Update(db *sql.DB, A Article, url string) error
- func UpdateReadNum(db *sql.DB, readNum int64, id int) error
- type Article
- type Condition
- type Tags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Article ¶
Click to show internal directories.
Click to hide internal directories.