This repository has been archived on 2025-10-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gitwarrior/internal/gitea/user.go

28 lines
1.1 KiB
Go

package gitea
import "time"
type User struct {
Id uint `json:"id"`
Login string `json:"login"`
Login_name string `json:"login_name"`
Full_name string `json:"full_name"`
Email string `json:"email"`
Avatar_url string `json:"avatar_url"`
Language string `json:"language"`
Is_admin bool `json:"is_admin"`
Last_login time.Time `json:"last_login"`
Created time.Time `json:"created"`
Restricted bool `json:"restricted"`
Active bool `json:"active"`
Prohibit_login bool `json:"prohibit_login"`
Location string `json:"location"`
Website string `json:"website"`
Description string `json:"description"`
Visibility string `json:"visibility"`
Followers_count uint `json:"followers_count"`
Following_count uint `json:"following_count"`
Starred_repos_count uint `json:"starred_repos_count"`
Username string `json:"username"`
}