Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthCodeURL ¶
Types ¶
type UserInfo ¶
type UserInfo struct { Id int64 `json:"id"` Login string `json:"login"` NodeId string `json:"node_id"` AvatarUrl string `json:"avatar_url"` Url string `json:"url"` HtmlUrl string `json:"html_url"` Email string `json:"email"` Name string `json:"name"` Bio string `json:"bio"` Company string `json:"company"` Blog string `json:"blog"` Location string `json:"location"` }
func GetUserInfoByCode ¶
根据code获取用户信息 流程为先使用code换取accessToken,然后根据accessToken获取用户信息
Click to show internal directories.
Click to hide internal directories.