Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// ArticleService expose articleServiceProvider
ArticleService *articleServiceProvider
)
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { ID bson.ObjectId `bson:"_id,omitempty"` AuthorId int32 `bson:"authorid"` AuditorId int32 `bson:"auditorid"` Title string `bson:"title"` Brief string `bson:"brief"` Content string `bson:"content"` Image string `bson:"image"` TagsID []bson.ObjectId `bson:"tagsid"` Views uint64 `bson:"views"` Created time.Time `bson:"created"` Updated time.Time `bson:"updated"` Status int8 `bson:"status"` }
Article represents the article information.
Click to show internal directories.
Click to hide internal directories.