type Article struct {
Id int `json:"id" db:"id"`
Title string `json:"title" db:"title" binding:"required"`
Text string `json:"text" db:"thesis"`
PubTime time.Time `json:"-" db:"pub_time"`
}
type User struct {
Id int `json:"-"`
Name string `json:"name" db:"name" binding:"-"`
Password string `json:"password" db:"hash_password" binding:"required"`
Email string `json:"email" db:"email" binding:"required"`
}