Documentation ¶
Overview ¶
判断package是否加载过
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SgBlogTags ¶
type SgBlogTagsNull ¶
type SgBlogsNull ¶
type SgBlogsNull struct { Id sql.NullInt64 UserId sql.NullInt64 //用户ID,与users表相关 Title sql.NullString //标题 Content sql.NullString Type sql.NullInt64 //文章类型,1为原创,2为转载 IsPush sql.NullInt64 //是否推送,0未,1是 Status sql.NullInt64 //文章状态:1发布,2草稿 FirstTagId sql.NullInt64 //首标签ID ReadCount sql.NullInt64 //阅读次数 StarCount sql.NullInt64 //点赞次数 CreatedAt sql.NullInt64 //创建时间 UpdatedAt sql.NullInt64 //更新时间 }
type SgConfigsNull ¶
type SgConfigsNull struct { Id sql.NullInt64 Name sql.NullString //名称 Key sql.NullString //键 Value sql.NullString //值 ConfigType sql.NullString //变量类型:system 系统内置/user 用户定义 Remark sql.NullString CreatedAt sql.NullInt64 //创建时间 UpdatedAt sql.NullInt64 //更新时间 }
type SgMigrations ¶
type SgMigrationsNull ¶
type SgTagsNull ¶
type SgTagsNull struct { Id sql.NullInt64 Name sql.NullString //名称 Remark sql.NullString //备注 CreatedAt sql.NullInt64 //创建时间 UpdatedAt sql.NullInt64 //更新时间 }
type SgUsersNull ¶
type SgUsersNull struct { Id sql.NullInt64 Name sql.NullString //用户名 Pass sql.NullString //密码 Salt sql.NullString //盐 Google2faKey sql.NullString //谷歌两步验证密钥 LoginCount sql.NullInt64 //登陆次数 Token sql.NullString //记住密码生成的随机数 LoginIp sql.NullString //登陆IP CreatedAt sql.NullInt64 //创建时间 UpdatedAt sql.NullInt64 //更新时间 }
Click to show internal directories.
Click to hide internal directories.