mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 05:41:12 +00:00
13 lines
402 B
Go
13 lines
402 B
Go
package common
|
|
|
|
type User struct {
|
|
Login string `json:"login,omitempty"`
|
|
Token string `json:"-"`
|
|
Secret string `json:"-"`
|
|
Name string `json:"name,omitempty"`
|
|
Email string `json:"email,omitempty"`
|
|
Gravatar string `json:"gravatar_id,omitempty"`
|
|
Admin bool `json:"admin,omitempty"`
|
|
Created int64 `json:"created_at,omitempty"`
|
|
Updated int64 `json:"updated_at,omitempty"`
|
|
}
|