add(gitea-api): issues and milestones getters

This implements the api getters for extracting the issues and milestones
for a given gitea repository. WIP for #1.
This commit is contained in:
2023-10-17 23:15:29 +02:00
parent 65eec9a2f6
commit 398b6a1992
7 changed files with 200 additions and 2 deletions

27
internal/gitea/user.go Normal file
View File

@@ -0,0 +1,27 @@
package gitea
import "time"
type User struct {
Id uint
Login string
Login_name string
Full_name string
Email string
Avatar_url string
Language string
Is_admin bool
Last_login time.Time
Created time.Time
Restricted bool
Active bool
Prohibit_login bool
Location string
Website string
Description string
Visibility string
Followers_count uint
Following_count uint
Starred_repos_count uint
Username string
}