The User holds information about the credentials of a user and its application and client tokens.
| 2 | |
| 3 | // The User holds information about the credentials of a user and its application and client tokens. |
| 4 | type User struct { |
| 5 | ID uint `gorm:"primaryKey;autoIncrement"` |
| 6 | Name string `gorm:"type:varchar(180);uniqueIndex:uix_users_name"` |
| 7 | Pass []byte |
| 8 | Admin bool |
| 9 | Applications []Application |
| 10 | Clients []Client |
| 11 | Plugins []PluginConf |
| 12 | } |
| 13 | |
| 14 | // UserExternal Model |
| 15 | // |
nothing calls this directly
no outgoing calls
no test coverage detected