Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlogInfo map[string]string
Functions ¶
func AddArticle ¶
func DeleteArticle ¶
func UpdateArticle ¶
Types ¶
type Article ¶
type Article struct { Id bson.ObjectId `json:"id" bson:"_id"` Title string `json:"title"` Author string `json:"author"` Date string `json:"date"` Tags string `json:"tags"` Content string `json:"content"` Status string `json:"status"` }
func AllArticles ¶
func AllArticles() []Article
func ArticleById ¶
func ArticleByTitle ¶
func ArticlesByStatus ¶
Click to show internal directories.
Click to hide internal directories.