Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddArticle ¶
func AddCatagory ¶
func DelArticle ¶
func DelCatagory ¶
func GetArticleCount ¶
Types ¶
type Article ¶
type Article struct { Id int64 Title string Content string Author string CatagoryId int64 ViewCount int64 Created time.Time }
func GetArticle ¶
func GetArticles ¶
type ArticleCatagory ¶
func GetArticleCatagory ¶
func GetArticleCatagory(page int64) ([]*ArticleCatagory, error)
type Catagory ¶
func GetCatagories ¶
Click to show internal directories.
Click to hide internal directories.