Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Db *sqlx.DB
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { Id int `db:"id"` Content string `db:"content"` UserId int `db:"user_id"` Ctime time.Time `db:"ctime"` }
func GetAllArticles ¶
type Comment ¶
func GetCommentsByArtId ¶
type User ¶
func (*User) CheckPassword ¶
Click to show internal directories.
Click to hide internal directories.