Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blog ¶
type Blog struct { Id uint `json:"id" orm:"id" description:"Blog ID"` Title string `json:"title" orm:"title" description:"Title"` Content string `json:"content" orm:"content" description:"Content"` Nickname string `json:"nickname" orm:"nickname" description:"Nickname"` CreateAt *gtime.Time `json:"createAt" orm:"create_at" description:"Created Time"` UpdateAt *gtime.Time `json:"updateAt" orm:"update_at" description:"Updated Time"` DeleteAt *gtime.Time `json:"deleteAt" orm:"delete_at" description:"Deleted Time"` }
Blog is the golang structure for table blog.
type Stats ¶
type Stats struct { Id uint `json:"id" orm:"id" description:"Blog ID"` Nickname string `json:"nickname" orm:"nickname" description:"Nickname"` BlogCnt uint `json:"blogCnt" orm:"blog_cnt" description:"Blog Count"` CreateAt *gtime.Time `json:"createAt" orm:"create_at" description:"Created Time"` UpdateAt *gtime.Time `json:"updateAt" orm:"update_at" description:"Updated Time"` DeleteAt *gtime.Time `json:"deleteAt" orm:"delete_at" description:"Deleted Time"` }
Stats is the golang structure for table stats.
Click to show internal directories.
Click to hide internal directories.