mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-03-25 09:25:49 +00:00
13 lines
629 B
Text
13 lines
629 B
Text
Notes:
|
|
- Will need to get/store timezone of user (use https://bitbucket.org/pellepim/jstimezonedetect, use it with time.Location.LoadLocation)
|
|
- To get digests for non-user owned organizations, will need to list the organizations and their repositories
|
|
- Handle pagination for repository list
|
|
- Handle pagination for commit list
|
|
- To make a raw HTTP request with the github package:
|
|
httpReq, _ := githubClient.NewRequest("GET", "user/teams", nil)
|
|
var jsonResp interface{}
|
|
githubClient.Do(httpReq, &jsonResp)
|
|
log.Printf("response'%s'", jsonResp)
|
|
|
|
Later
|
|
- Option to only do this for public repos (repo vs. public_repo scopes)
|