Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlogMgr *_BlogMgr
Functions ¶
func BlogAddInsertCallback ¶
func BlogAddInsertCallback(cb func(obj EzOrmObj))
func BlogAddUpdateCallback ¶
func BlogAddUpdateCallback(cb func(obj EzOrmObj))
func BlogInsertCallback ¶
func BlogInsertCallback(o *Blog)
func BlogUpdateCallback ¶
func BlogUpdateCallback(o *Blog)
Types ¶
type Blog ¶
type Blog struct { ID bson.ObjectId `bson:"_id,omitempty"` Title string `bson:"title"` Hits int32 `bson:"Hits"` Slug string `bson:"Slug"` Body string `bson:"Body"` User int32 `bson:"User"` IsPublished bool `bson:"IsPublished"` // contains filtered or unexported fields }
func (*Blog) GetClassName ¶
func (*Blog) GetNameSpace ¶
func (*Blog) InsertUnique ¶
func (*Blog) IsSearchEnabled ¶
Click to show internal directories.
Click to hide internal directories.