Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FollowForm ¶
type FollowForm struct { Follow string `json:"follow" form:"follow"` Unfollow string `json:"unfollow" form:"follow"` Latest pq.StringArray `json:"latest" form:"latest"` }
type MessageForm ¶
type MessageForm struct {
Content string `json:"content" form:"content" binding:"required"`
}
type RegisterForm ¶
type User ¶
type User struct { ID uint `json:"id" gorm:"primary_key"` Username string `json:"username" gorm:"unique;type:varchar(100);not null"` Email string `json:"email" gorm:"type:varchar(100);not null"` Salt string `json:"salt" gorm:"type:varchar(100);not null"` Password string `json:"password" gorm:"not null"` }
Click to show internal directories.
Click to hide internal directories.