Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { ID int //id UUID string //uuid Title string //文章标题 ShortTitle string //文章短标题 Desc string //文章摘要 Type int8 //文章属性:0普通文章,1单页 Thumb string //文章缩略图 State int8 //状态:0隐藏,1显示,2未审核 Click int //点击量 Like int //喜欢量 Ctime time.Time //创建时间 Utime time.Time //创建时间 Author string //作者昵称 UID int //作者id Content string //文章内容 SeoTitle string //seo标题 SeoKeyWords string //seo关键字 SeoDesc string //seo描述 IsTop int8 //置顶 IsNice int8 //推荐 }
type ArticleCate ¶
Click to show internal directories.
Click to hide internal directories.