This commit is contained in:
Sakurasan
2023-04-10 02:27:52 +08:00
parent 31341cf5bf
commit 0348d383a3
11 changed files with 123 additions and 318 deletions

11
services/board/board.go Normal file
View File

@@ -0,0 +1,11 @@
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"` // 记录插入到数据库中的时间。
}