Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RelTeamUser ¶
func (RelTeamUser) Me ¶
func (this RelTeamUser) Me()
func (RelTeamUser) TableName ¶
func (this RelTeamUser) TableName() string
type Team ¶
type Team struct {
ID int64 `json:"id,"`
Name string `json:"name"`
Resume string `json:"resume"`
Creator int64 `json:"creator"`
}
func (Team) GetCreatorName ¶
type User ¶
type User struct {
ID int64 `json:"id" `
Name string `json:"name"`
Cnname string `json:"cnname"`
Passwd string `json:"-"`
Email string `json:"email"`
Phone string `json:"phone"`
IM string `json:"im" gorm:"column:im"`
QQ string `json:"qq" gorm:"column:qq"`
Role int `json:"role"`
}
func (User) IsSuperAdmin ¶
Click to show internal directories.
Click to hide internal directories.