package board type user struct { ID string `json:"id,omitempty"` // 自增长的唯一标识符。 GithubID string `json:"github_Id,omitempty"` // 从GitHub API获取的数字型用户ID。 UserID string `json:"userid,omitempty"` // 用户在GitHub上的用户名。 Name string `json:"name,omitempty"` // 用户在GitHub上的昵称(如果有)。 Email string `json:"email,omitempty"` // 用户在GitHub上公开的电子邮件地址(如果有)。 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 }