This commit is contained in:
Sakurasan
2023-04-13 01:06:15 +08:00
parent 8ece9bdf37
commit 08d5bfbf19
4 changed files with 117 additions and 57 deletions

View File

@@ -9,3 +9,10 @@ type user struct {
AvatarUrl string `json:"avatar_Url,omitempty"` // 用户在GitHub上的头像URL如果有
CreatedAt string `json:"created_At,omitempty"` // 记录插入到数据库中的时间。
}
type Auth struct {
Type string
Code string
State string
RedirectUrl string
}