├── .editorconfig ├── octo-gopher.png ├── .gitignore ├── rest ├── total_forks.go ├── total_stars.go ├── auth_rest.go ├── most_forked_repos.go ├── most_starred_repos.go ├── langs_by_repo.go ├── most_used_licenses.go ├── all_repos.go ├── forks_per_lang.go └── stars_per_lang.go ├── go.mod ├── graphql ├── auth_graphql.go ├── user_details.go ├── organizations_details.go ├── languages_by_commit.go ├── all_commits.go ├── all_issues.go ├── all_contributions.go ├── all_pull_requests.go ├── year_activity.go ├── queries.go └── types.go ├── LICENSE ├── helpers └── helpers.go ├── examples └── main.go ├── README.md └── go.sum /.editorconfig: -------------------------------------------------------------------------------- 1 | [*.go] 2 | indent_style = tab 3 | indent_size = 4 -------------------------------------------------------------------------------- /octo-gopher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irevenko/octostats/HEAD/octo-gopher.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, built with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | 14 | # Dependency directories (remove the comment below to include it) 15 | # vendor/ 16 | -------------------------------------------------------------------------------- /rest/total_forks.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "github.com/google/go-github/v33/github" 5 | ) 6 | 7 | func TotalForks(client *github.Client, allRepos []*github.Repository) (forksNum int) { 8 | _, forks := ForksPerLanguage(client, allRepos) 9 | 10 | var totalForks int 11 | for _, v := range forks { 12 | totalForks += int(v) 13 | } 14 | 15 | return totalForks 16 | } 17 | -------------------------------------------------------------------------------- /rest/total_stars.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "github.com/google/go-github/v33/github" 5 | ) 6 | 7 | func TotalStars(client *github.Client, allRepos []*github.Repository) (starsNum int) { 8 | _, stars := StarsPerLanguage(client, allRepos) 9 | 10 | var totalStars int 11 | for _, v := range stars { 12 | totalStars += int(v) 13 | } 14 | 15 | return totalStars 16 | } 17 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/irevenko/octostats 2 | 3 | go 1.15 4 | 5 | require ( 6 | github.com/google/go-github/v33 v33.0.0 7 | github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa 8 | github.com/shurcooL/graphql v0.0.0-20200928012149-18c5c3165e3a // indirect 9 | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect 10 | golang.org/x/oauth2 v0.0.0-20210311163135-5366d9dc1934 11 | ) 12 | -------------------------------------------------------------------------------- /graphql/auth_graphql.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/shurcooL/githubv4" 7 | "golang.org/x/oauth2" 8 | ) 9 | 10 | func AuthGraphQL(token string) *githubv4.Client { 11 | src := oauth2.StaticTokenSource( 12 | &oauth2.Token{AccessToken: token}, 13 | ) 14 | httpClient := oauth2.NewClient(context.Background(), src) 15 | client := githubv4.NewClient(httpClient) 16 | 17 | return client 18 | } 19 | -------------------------------------------------------------------------------- /rest/auth_rest.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/google/go-github/v33/github" 7 | "golang.org/x/oauth2" 8 | ) 9 | 10 | func AuthREST(token string) (context.Context, *github.Client) { 11 | ctx := context.Background() 12 | ts := oauth2.StaticTokenSource( 13 | &oauth2.Token{AccessToken: token}, 14 | ) 15 | tc := oauth2.NewClient(ctx, ts) 16 | client := github.NewClient(tc) 17 | 18 | return ctx, client 19 | } 20 | -------------------------------------------------------------------------------- /graphql/user_details.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "context" 5 | "fmt" 6 | 7 | "github.com/shurcooL/githubv4" 8 | ) 9 | 10 | func UserDetails(client *githubv4.Client, user string) (innerUser User, err error) { 11 | variables := map[string]interface{}{ 12 | "user": githubv4.String(user), 13 | } 14 | 15 | clientErr := client.Query(context.Background(), &UserQuery, variables) 16 | if clientErr != nil { 17 | return innerUser, fmt.Errorf("Couldn't get user %s: %w", user, clientErr) 18 | } 19 | 20 | return UserQuery.User, nil 21 | } 22 | -------------------------------------------------------------------------------- /graphql/organizations_details.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "context" 5 | "fmt" 6 | 7 | "github.com/shurcooL/githubv4" 8 | ) 9 | 10 | func OrganizationDetails(client *githubv4.Client, organization string) (org Organization, err error) { 11 | variables := map[string]interface{}{ 12 | "user": githubv4.String(organization), 13 | } 14 | 15 | clientErr := client.Query(context.Background(), &OrganizationQuery, variables) 16 | if clientErr != nil { 17 | return org, fmt.Errorf("Couldn't get details for organization %s: %w", organization, clientErr) 18 | } 19 | 20 | return OrganizationQuery.Organization, nil 21 | } 22 | -------------------------------------------------------------------------------- /rest/most_forked_repos.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "github.com/google/go-github/v33/github" 5 | h "github.com/irevenko/octostats/helpers" 6 | ) 7 | 8 | func MostForkedRepos(client *github.Client, allRepos []*github.Repository) (repoNames []string, repoForks []float64) { 9 | var forksSlice []float64 10 | var namesSlice []string 11 | 12 | for _, v := range allRepos { 13 | forks := *v.ForksCount 14 | name := *v.Name 15 | forksSlice = append(forksSlice, float64(forks)) 16 | namesSlice = append(namesSlice, name) 17 | } 18 | 19 | forksNum := h.CalcStarsOrForks(namesSlice, forksSlice) 20 | names, forks := h.SortMap(forksNum) 21 | return names, forks 22 | } 23 | -------------------------------------------------------------------------------- /rest/most_starred_repos.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "github.com/google/go-github/v33/github" 5 | h "github.com/irevenko/octostats/helpers" 6 | ) 7 | 8 | func MostStarredRepos(client *github.Client, allRepos []*github.Repository) (repoNames []string, repoStars []float64) { 9 | var starsSlice []float64 10 | var namesSlice []string 11 | 12 | for _, v := range allRepos { 13 | stars := *v.StargazersCount 14 | name := *v.Name 15 | starsSlice = append(starsSlice, float64(stars)) 16 | namesSlice = append(namesSlice, name) 17 | } 18 | 19 | starsNum := h.CalcStarsOrForks(namesSlice, starsSlice) 20 | names, stars := h.SortMap(starsNum) 21 | return names, stars 22 | } 23 | -------------------------------------------------------------------------------- /rest/langs_by_repo.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "github.com/google/go-github/v33/github" 5 | h "github.com/irevenko/octostats/helpers" 6 | ) 7 | 8 | func LanguagesByRepo(client *github.Client, allRepos []*github.Repository) (languages []string, occurrences []float64) { 9 | var langsSlice []string 10 | 11 | for _, v := range allRepos { 12 | if v.Language != nil { 13 | lang := *v.Language 14 | langsSlice = append(langsSlice, lang) 15 | } else { 16 | lang := "No Language" 17 | langsSlice = append(langsSlice, lang) 18 | } 19 | } 20 | 21 | mostUsedLangs := h.CountDuplicates(langsSlice) 22 | langs, occurrs := h.SortMap(mostUsedLangs) 23 | 24 | return langs, occurrs 25 | } 26 | -------------------------------------------------------------------------------- /rest/most_used_licenses.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "github.com/google/go-github/v33/github" 5 | h "github.com/irevenko/octostats/helpers" 6 | ) 7 | 8 | func MostUsedLicenses(client *github.Client, allRepos []*github.Repository) (licenses []string, occurrences []float64) { 9 | var licensesSlice []string 10 | 11 | for _, v := range allRepos { 12 | if v.License != nil { 13 | license := *v.License.Name 14 | licensesSlice = append(licensesSlice, license) 15 | } else { 16 | license := "No License" 17 | licensesSlice = append(licensesSlice, license) 18 | } 19 | } 20 | 21 | mostUsedLicenses := h.CountDuplicates(licensesSlice) 22 | lics, occurrs := h.SortMap(mostUsedLicenses) 23 | 24 | return lics, occurrs 25 | } 26 | -------------------------------------------------------------------------------- /rest/all_repos.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "context" 5 | "fmt" 6 | 7 | "github.com/google/go-github/v33/github" 8 | ) 9 | 10 | func AllRepos(ctx context.Context, client *github.Client, account string) (allRepos []*github.Repository, err error) { 11 | opt := &github.RepositoryListOptions{ 12 | ListOptions: github.ListOptions{PerPage: 100}, 13 | } 14 | 15 | for { 16 | repos, resp, clientErr := client.Repositories.List(ctx, account, opt) 17 | if clientErr != nil { 18 | err = fmt.Errorf("Couldn't get all repositories for %s: %w", account, clientErr) 19 | break 20 | } 21 | allRepos = append(allRepos, repos...) 22 | if resp.NextPage == 0 { 23 | break 24 | } 25 | opt.Page = resp.NextPage 26 | } 27 | 28 | return 29 | } 30 | -------------------------------------------------------------------------------- /rest/forks_per_lang.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "github.com/google/go-github/v33/github" 5 | h "github.com/irevenko/octostats/helpers" 6 | ) 7 | 8 | func ForksPerLanguage(client *github.Client, allRepos []*github.Repository) (languages []string, forksNum []float64) { 9 | var forksSlice []float64 10 | var langsSlice []string 11 | 12 | for _, v := range allRepos { 13 | forksNum := *v.ForksCount 14 | forksSlice = append(forksSlice, float64(forksNum)) 15 | 16 | if v.Language != nil { 17 | lang := *v.Language 18 | langsSlice = append(langsSlice, lang) 19 | } else { 20 | lang := "No Language" 21 | langsSlice = append(langsSlice, lang) 22 | } 23 | } 24 | 25 | forks := h.CalcStarsOrForks(langsSlice, forksSlice) 26 | langs, count := h.SortMap(forks) 27 | return langs, count 28 | } 29 | -------------------------------------------------------------------------------- /rest/stars_per_lang.go: -------------------------------------------------------------------------------- 1 | package rest 2 | 3 | import ( 4 | "github.com/google/go-github/v33/github" 5 | h "github.com/irevenko/octostats/helpers" 6 | ) 7 | 8 | func StarsPerLanguage(client *github.Client, allRepos []*github.Repository) (languages []string, starsNum []float64) { 9 | var starsSlice []float64 10 | var langsSlice []string 11 | 12 | for _, v := range allRepos { 13 | starsNum := *v.StargazersCount 14 | starsSlice = append(starsSlice, float64(starsNum)) 15 | 16 | if v.Language != nil { 17 | lang := *v.Language 18 | langsSlice = append(langsSlice, lang) 19 | } else { 20 | lang := "No Language" 21 | langsSlice = append(langsSlice, lang) 22 | } 23 | } 24 | 25 | stars := h.CalcStarsOrForks(langsSlice, starsSlice) 26 | langs, count := h.SortMap(stars) 27 | return langs, count 28 | } 29 | -------------------------------------------------------------------------------- /graphql/languages_by_commit.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | h "github.com/irevenko/octostats/helpers" 5 | "github.com/shurcooL/githubv4" 6 | ) 7 | 8 | func LanguagesByCommit(client *githubv4.Client, user string, from int, to int) ( 9 | languages []string, 10 | commitsNum []float64, 11 | err error, 12 | ) { 13 | commits, err := AllCommits(client, user, from, to) 14 | 15 | var langsSlice []string 16 | var numsSlice []float64 17 | 18 | for i, v := range commits { 19 | if v.Repository.PrimaryLanguage.Name == "" { 20 | langsSlice = append(langsSlice, "No Language") 21 | } else { 22 | langsSlice = append(langsSlice, string(commits[i].Repository.PrimaryLanguage.Name)) 23 | } 24 | 25 | numsSlice = append(numsSlice, float64(commits[i].Contributions.TotalCount)) 26 | } 27 | 28 | languagesCommit := h.CountLanguagesCommit(langsSlice, numsSlice) 29 | langs, count := h.SortMap(languagesCommit) 30 | 31 | return langs, count, err 32 | } 33 | -------------------------------------------------------------------------------- /graphql/all_commits.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "context" 5 | "fmt" 6 | "time" 7 | 8 | "github.com/shurcooL/githubv4" 9 | ) 10 | 11 | func AllCommits(client *githubv4.Client, user string, fromYear int, toYear int) ([]CommitContributions, error) { 12 | loc, _ := time.LoadLocation("Local") 13 | _, month, day := time.Now().Date() 14 | var m int = int(month) 15 | var d int = int(day) 16 | fromDate := time.Date(fromYear, time.Month(m), d, 0, 0, 0, 0, loc) 17 | toDate := time.Date(toYear, time.Month(m), d, 0, 0, 0, 0, loc) 18 | 19 | variables := map[string]interface{}{ 20 | "user": githubv4.String(user), 21 | "from": githubv4.DateTime{Time: fromDate}, 22 | "to": githubv4.DateTime{Time: toDate}, 23 | } 24 | err := client.Query(context.Background(), &ContributionsQuery, variables) 25 | if err != nil { 26 | return nil, fmt.Errorf("Couldn't get commits for %s: %w", user, err) 27 | } 28 | 29 | return ContributionsQuery.User.ContributionsCollection.CommitContributionsByRepository, nil 30 | } 31 | -------------------------------------------------------------------------------- /graphql/all_issues.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "context" 5 | "fmt" 6 | "time" 7 | 8 | "github.com/shurcooL/githubv4" 9 | ) 10 | 11 | func AllIssues(client *githubv4.Client, user string, fromYear int, toYear int) ([]IssueContributions, error) { 12 | loc, _ := time.LoadLocation("Local") 13 | _, month, day := time.Now().Date() 14 | var m int = int(month) 15 | var d int = int(day) 16 | fromDate := time.Date(fromYear, time.Month(m), d, 0, 0, 0, 0, loc) 17 | toDate := time.Date(toYear, time.Month(m), d, 0, 0, 0, 0, loc) 18 | 19 | variables := map[string]interface{}{ 20 | "user": githubv4.String(user), 21 | "from": githubv4.DateTime{Time: fromDate}, 22 | "to": githubv4.DateTime{Time: toDate}, 23 | } 24 | 25 | err := client.Query(context.Background(), &ContributionsQuery, variables) 26 | if err != nil { 27 | return nil, fmt.Errorf("Couldn't get issues for %s: %w", user, err) 28 | } 29 | 30 | return ContributionsQuery.User.ContributionsCollection.IssueContributionsByRepository, nil 31 | } 32 | -------------------------------------------------------------------------------- /graphql/all_contributions.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "context" 5 | "fmt" 6 | "time" 7 | 8 | "github.com/shurcooL/githubv4" 9 | ) 10 | 11 | func AllContributions(client *githubv4.Client, user string, fromYear int, toYear int) (c ContributionsCollection, err error) { 12 | loc, _ := time.LoadLocation("Local") 13 | _, month, day := time.Now().Date() 14 | var m int = int(month) 15 | var d int = int(day) 16 | fromDate := time.Date(fromYear, time.Month(m), d, 0, 0, 0, 0, loc) 17 | toDate := time.Date(toYear, time.Month(m), d, 0, 0, 0, 0, loc) 18 | 19 | variables := map[string]interface{}{ 20 | "user": githubv4.String(user), 21 | "from": githubv4.DateTime{Time: fromDate}, 22 | "to": githubv4.DateTime{Time: toDate}, 23 | } 24 | 25 | clientErr := client.Query(context.Background(), &ContributionsQuery, variables) 26 | if clientErr != nil { 27 | return c, fmt.Errorf("Couldn't get contributions for %s: %w", user, clientErr) 28 | } 29 | 30 | return ContributionsQuery.User.ContributionsCollection, nil 31 | } 32 | -------------------------------------------------------------------------------- /graphql/all_pull_requests.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "context" 5 | "fmt" 6 | "time" 7 | 8 | "github.com/shurcooL/githubv4" 9 | ) 10 | 11 | func AllPullRequests(client *githubv4.Client, user string, fromYear int, toYear int) ([]PullRequestContributions, error) { 12 | loc, _ := time.LoadLocation("Local") 13 | _, month, day := time.Now().Date() 14 | var m int = int(month) 15 | var d int = int(day) 16 | fromDate := time.Date(fromYear, time.Month(m), d, 0, 0, 0, 0, loc) 17 | toDate := time.Date(toYear, time.Month(m), d, 0, 0, 0, 0, loc) 18 | 19 | variables := map[string]interface{}{ 20 | "user": githubv4.String(user), 21 | "from": githubv4.DateTime{Time: fromDate}, 22 | "to": githubv4.DateTime{Time: toDate}, 23 | } 24 | 25 | err := client.Query(context.Background(), &ContributionsQuery, variables) 26 | if err != nil { 27 | return nil, fmt.Errorf("Couldn't get pull requests for %s: %w", user, err) 28 | } 29 | 30 | return ContributionsQuery.User.ContributionsCollection.PullRequestContributionsByRepository, nil 31 | } 32 | -------------------------------------------------------------------------------- /graphql/year_activity.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import ( 4 | "context" 5 | "fmt" 6 | 7 | "github.com/shurcooL/githubv4" 8 | ) 9 | 10 | func YearActivity(client *githubv4.Client, user string) (dates []string, contribs []float64, err error) { 11 | variables := map[string]interface{}{ 12 | "user": githubv4.String(user), 13 | "repoCount": githubv4.Int(100), 14 | "languageCount": githubv4.Int(100), 15 | } 16 | 17 | clientErr := client.Query(context.Background(), &YearActivityQuery, variables) 18 | if clientErr != nil { 19 | err = fmt.Errorf("Couldn't get year activity for %s: %w", user, clientErr) 20 | return 21 | } 22 | 23 | var datesSlice []string 24 | var contribsSlice []float64 25 | 26 | for _, v := range YearActivityQuery.User.ContributionsCollection.ContributionCalendar.Weeks { 27 | for _, week := range v.ContributionDays { 28 | if week.Date != "" { 29 | datesSlice = append(datesSlice, week.Date) 30 | contribsSlice = append(contribsSlice, float64(week.ContributionCount)) 31 | } 32 | } 33 | } 34 | 35 | return datesSlice, contribsSlice, nil 36 | } 37 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Ilya Revenko 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /helpers/helpers.go: -------------------------------------------------------------------------------- 1 | package helpers 2 | 3 | import ( 4 | "sort" 5 | ) 6 | 7 | //CountDuplicates func counts duplicates in string slice 8 | func CountDuplicates(strSlice []string) map[string]float64 { 9 | duplicate := map[string]float64{} 10 | 11 | for _, v := range strSlice { 12 | _, exist := duplicate[v] 13 | 14 | if exist { 15 | duplicate[v]++ 16 | } else { 17 | duplicate[v] = 1 18 | } 19 | } 20 | 21 | return duplicate 22 | } 23 | 24 | //CountLanguagesCommit counts duplicates and adds up commits values 25 | func CountLanguagesCommit(strSlice []string, floatSlice []float64) map[string]float64 { 26 | duplicate := map[string]float64{} 27 | 28 | for i, v := range strSlice { 29 | _, exist := duplicate[v] 30 | 31 | if exist { 32 | duplicate[v] += floatSlice[i] 33 | } else { 34 | duplicate[v] = floatSlice[i] 35 | } 36 | } 37 | 38 | return duplicate 39 | } 40 | 41 | //CalcStarsOrForks iterates over slice and adds up it's values 42 | func CalcStarsOrForks(strings []string, integers []float64) map[string]float64 { 43 | newMap := map[string]float64{} 44 | 45 | for i, v := range strings { 46 | newMap[v] += integers[i] 47 | } 48 | 49 | return newMap 50 | } 51 | 52 | //SortMap splits map into two slices and sorts them 53 | func SortMap(someMap map[string]float64) (strings []string, integers []float64) { 54 | var strSlice []string 55 | var intSlice []float64 56 | 57 | keys := make([]string, 0, len(someMap)) 58 | for key := range someMap { 59 | keys = append(keys, key) 60 | } 61 | 62 | sort.Slice(keys, func(i, j int) bool { 63 | return someMap[keys[i]] > someMap[keys[j]] 64 | }) 65 | 66 | for _, key := range keys { 67 | intSlice = append(intSlice, someMap[key]) 68 | strSlice = append(strSlice, key) 69 | } 70 | 71 | return strSlice, intSlice 72 | } 73 | -------------------------------------------------------------------------------- /graphql/queries.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import "github.com/shurcooL/githubv4" 4 | 5 | var ContributionsQuery struct { 6 | User struct { 7 | ContributionsCollection ContributionsCollection `graphql:"contributionsCollection(from: $from, to: $to)"` 8 | } `graphql:"user(login: $user)"` 9 | } 10 | 11 | var YearActivityQuery struct { 12 | User struct { 13 | Repositories struct { 14 | Nodes []Nodes 15 | } `graphql:"repositories(first: $repoCount, ownerAffiliations: OWNER)"` 16 | ContributionsCollection struct { 17 | ContributionCalendar ContributionCalendar 18 | } `graph:"contributionsCollection"` 19 | } `graphql:"user(login: $user)"` 20 | } 21 | 22 | var UserQuery struct { 23 | User struct { 24 | Login string 25 | Name string 26 | AvatarURL string 27 | Location string 28 | Company string 29 | Email string 30 | TwitterUsername string 31 | WebsiteURL string 32 | Bio string 33 | Status struct { 34 | Emoji string 35 | Message string 36 | } 37 | CreatedAt githubv4.DateTime 38 | Followers struct { 39 | TotalCount int 40 | } 41 | Following struct { 42 | TotalCount int 43 | } 44 | StarredRepositories struct { 45 | TotalCount int 46 | } 47 | Projects struct { 48 | TotalCount int 49 | } 50 | Packages struct { 51 | TotalCount int 52 | } 53 | Watching struct { 54 | TotalCount int 55 | } `graphql:"watching(privacy: PUBLIC)"` 56 | Gists struct { 57 | TotalCount int 58 | } `graphql:"gists(privacy: PUBLIC)"` 59 | Repositories struct { 60 | TotalCount int 61 | } `graphql:"repositories(privacy: PUBLIC)"` 62 | Organizations struct { 63 | TotalCount int 64 | } `graphql:"organizations"` 65 | SponsorshipsAsSponsor struct { 66 | TotalCount int 67 | } `graphql:"sponsorshipsAsSponsor"` 68 | SponsorshipsAsMaintainer struct { 69 | TotalCount int 70 | } `graphql:"sponsorshipsAsMaintainer"` 71 | } `graphql:"user(login: $user)"` 72 | } 73 | 74 | var OrganizationQuery struct { 75 | Organization struct { 76 | Login string 77 | Name string 78 | AvatarURL string 79 | Location string 80 | Email string 81 | TwitterUsername string 82 | WebsiteURL string 83 | Description string 84 | CreatedAt githubv4.DateTime 85 | Projects struct { 86 | TotalCount int 87 | } 88 | Packages struct { 89 | TotalCount int 90 | } 91 | Repositories struct { 92 | TotalCount int 93 | } `graphql:"repositories(privacy: PUBLIC)"` 94 | MembersWithRole struct { 95 | TotalCount int 96 | } `graphql:"membersWithRole(first: 100)"` 97 | SponsorshipsAsSponsor struct { 98 | TotalCount int 99 | } `graphql:"sponsorshipsAsSponsor"` 100 | SponsorshipsAsMaintainer struct { 101 | TotalCount int 102 | } `graphql:"sponsorshipsAsMaintainer"` 103 | } `graphql:"organization(login: $user)"` 104 | } 105 | -------------------------------------------------------------------------------- /examples/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "strconv" 6 | 7 | "github.com/google/go-github/v33/github" 8 | g "github.com/irevenko/octostats/graphql" 9 | r "github.com/irevenko/octostats/rest" 10 | "github.com/shurcooL/githubv4" 11 | ) 12 | 13 | func main() { 14 | // REST auth 15 | ctx, client := r.AuthREST("") 16 | // get all repos to work with 17 | allRepos := r.AllRepos(ctx, client, "") 18 | // execute REST examples 19 | RestExamples(client, allRepos) 20 | 21 | // GraphQL auth 22 | qlClient := g.AuthGraphQL("") 23 | // execute GraphQL examples 24 | GraphqlExamples(qlClient, "") 25 | } 26 | 27 | func RestExamples(client *github.Client, allRepos []*github.Repository) { 28 | forkedRepos, forkedNums := r.MostForkedRepos(client, allRepos) 29 | fmt.Println("Most forked repos:") 30 | for i, v := range forkedRepos { 31 | fmt.Println(v + ": " + strconv.FormatFloat(forkedNums[i], 'f', -1, 64)) 32 | } 33 | 34 | starredRepos, starredNums := r.MostStarredRepos(client, allRepos) 35 | fmt.Println("\nMost starred repos:") 36 | for i, v := range starredRepos { 37 | fmt.Println(v + ": " + strconv.FormatFloat(starredNums[i], 'f', -1, 64)) 38 | } 39 | 40 | usedLangs, langsNum := r.LanguagesByRepo(client, allRepos) 41 | fmt.Println("\nLanguages by repo:") 42 | for i, v := range usedLangs { 43 | fmt.Println(v + ": " + strconv.FormatFloat(langsNum[i], 'f', -1, 64)) 44 | } 45 | 46 | usedLicenses, licsNum := r.MostUsedLicenses(client, allRepos) 47 | fmt.Println("\nMost used licenses:") 48 | for i, v := range usedLicenses { 49 | fmt.Println(v + ": " + strconv.FormatFloat(licsNum[i], 'f', -1, 64)) 50 | } 51 | 52 | starsPerL, starsNum := r.StarsPerLanguage(client, allRepos) 53 | fmt.Println("\nStars per lang:") 54 | for i, v := range starsPerL { 55 | fmt.Println(v + ": " + strconv.FormatFloat(starsNum[i], 'f', -1, 64)) 56 | } 57 | 58 | forksPerL, forksNum := r.ForksPerLanguage(client, allRepos) 59 | fmt.Println("\nForks per lang:") 60 | for i, v := range forksPerL { 61 | fmt.Println(v + ": " + strconv.FormatFloat(forksNum[i], 'f', -1, 64)) 62 | } 63 | 64 | totalStars := r.TotalStars(client, allRepos) 65 | fmt.Println("\nTotal stars") 66 | fmt.Println(totalStars) 67 | 68 | totalForks := r.TotalForks(client, allRepos) 69 | fmt.Println("\nTotal forks") 70 | fmt.Println(totalForks) 71 | 72 | fmt.Println("\nTotal repos") 73 | fmt.Println(len(allRepos)) 74 | } 75 | 76 | func GraphqlExamples(qlClient *githubv4.Client, user string) { 77 | langs, commits := g.LanguagesByCommit(qlClient, user, 2020, 2021) 78 | fmt.Println("\nLanguages by commit 2020-2021:") 79 | for i, v := range langs { 80 | fmt.Printf("%v : %v\n", v, commits[i]) 81 | } 82 | 83 | allCommits := g.AllCommits(qlClient, user, 2020, 2021) 84 | fmt.Println("\nAll commits 2020-2021:") 85 | fmt.Println(allCommits) 86 | 87 | allPrs := g.AllPullRequests(qlClient, user, 2020, 2021) 88 | fmt.Println("\nAll pull requests 2020-2021:") 89 | fmt.Println(allPrs) 90 | 91 | allIssues := g.AllIssues(qlClient, user, 2020, 2021) 92 | fmt.Println("\nAll issues 2020-2021:") 93 | fmt.Println(allIssues) 94 | 95 | allContribs := g.AllContributions(qlClient, user, 2020, 2021) 96 | fmt.Println("\nAll contributions 2020-2021:") 97 | fmt.Println(allContribs) 98 | 99 | fmt.Println("\nLast year activity:") 100 | dates, contribs := g.YearActivity(qlClient, user) 101 | fmt.Println(dates, contribs) 102 | 103 | fmt.Println("\nUser Details:") 104 | userInfo := g.UserDetails(qlClient, user) 105 | fmt.Println(userInfo) 106 | 107 | // fmt.Println("\nOrganization Details:") 108 | // orgInfo := g.OrganizationDetails(qlClient, user) 109 | // fmt.Println(orgInfo) 110 | } 111 | -------------------------------------------------------------------------------- /graphql/types.go: -------------------------------------------------------------------------------- 1 | package graphql 2 | 3 | import "github.com/shurcooL/githubv4" 4 | 5 | type Contributions struct { 6 | TotalCount int 7 | } 8 | 9 | type Repository struct { 10 | NameWithOwner string 11 | PrimaryLanguage struct { 12 | Name string 13 | } 14 | } 15 | 16 | type CommitContributions struct { 17 | Contributions Contributions 18 | Repository Repository 19 | } 20 | 21 | type IssueContributions struct { 22 | Contributions Contributions 23 | Repository Repository 24 | } 25 | 26 | type PullRequestContributions struct { 27 | Contributions Contributions 28 | Repository Repository 29 | } 30 | 31 | type pullRequestReviewContributions struct { 32 | Contributions Contributions 33 | Repository Repository 34 | } 35 | 36 | type ContributionsCollection struct { 37 | CommitContributionsByRepository []CommitContributions 38 | IssueContributionsByRepository []IssueContributions 39 | PullRequestContributionsByRepository []PullRequestContributions 40 | PullRequestReviewContributionsByRepository []pullRequestReviewContributions 41 | } 42 | 43 | type AggregatedContributionsCollection struct { 44 | Repository string 45 | CommitCount int 46 | IssueCount int 47 | PullRequestCount int 48 | PullRequestReviewCount int 49 | } 50 | 51 | type Nodes struct { 52 | PrimaryLanguage struct { 53 | Name string 54 | } 55 | Watchers struct { 56 | TotalCount int 57 | } 58 | StarGazers struct { 59 | TotalCount int 60 | } `graphql:"stargazers"` 61 | Name string 62 | ForkCount int 63 | Languages struct { 64 | TotalCount int 65 | Nodes []Language 66 | } `graphql:"languages(first: $languageCount)"` 67 | } 68 | 69 | type Language struct { 70 | Name string 71 | } 72 | 73 | type ContributionCalendar struct { 74 | Weeks []Weeks 75 | } 76 | 77 | type Weeks struct { 78 | ContributionDays []ContributionDays 79 | } 80 | 81 | type ContributionDays struct { 82 | Date string 83 | ContributionCount int 84 | } 85 | 86 | type User struct { 87 | Login string 88 | Name string 89 | AvatarURL string 90 | Location string 91 | Company string 92 | Email string 93 | TwitterUsername string 94 | WebsiteURL string 95 | Bio string 96 | Status struct { 97 | Emoji string 98 | Message string 99 | } 100 | CreatedAt githubv4.DateTime 101 | Followers struct { 102 | TotalCount int 103 | } 104 | Following struct { 105 | TotalCount int 106 | } 107 | StarredRepositories struct { 108 | TotalCount int 109 | } 110 | Projects struct { 111 | TotalCount int 112 | } 113 | Packages struct { 114 | TotalCount int 115 | } 116 | Watching struct { 117 | TotalCount int 118 | } `graphql:"watching(privacy: PUBLIC)"` 119 | Gists struct { 120 | TotalCount int 121 | } `graphql:"gists(privacy: PUBLIC)"` 122 | Repositories struct { 123 | TotalCount int 124 | } `graphql:"repositories(privacy: PUBLIC)"` 125 | Organizations struct { 126 | TotalCount int 127 | } `graphql:"organizations"` 128 | SponsorshipsAsSponsor struct { 129 | TotalCount int 130 | } `graphql:"sponsorshipsAsSponsor"` 131 | SponsorshipsAsMaintainer struct { 132 | TotalCount int 133 | } `graphql:"sponsorshipsAsMaintainer"` 134 | } 135 | 136 | type Organization struct { 137 | Login string 138 | Name string 139 | AvatarURL string 140 | Location string 141 | Email string 142 | TwitterUsername string 143 | WebsiteURL string 144 | Description string 145 | CreatedAt githubv4.DateTime 146 | Projects struct { 147 | TotalCount int 148 | } 149 | Packages struct { 150 | TotalCount int 151 | } 152 | Repositories struct { 153 | TotalCount int 154 | } `graphql:"repositories(privacy: PUBLIC)"` 155 | MembersWithRole struct { 156 | TotalCount int 157 | } `graphql:"membersWithRole(first: 100)"` 158 | SponsorshipsAsSponsor struct { 159 | TotalCount int 160 | } `graphql:"sponsorshipsAsSponsor"` 161 | SponsorshipsAsMaintainer struct { 162 | TotalCount int 163 | } `graphql:"sponsorshipsAsMaintainer"` 164 | } 165 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # octostats 🐙🐱📦 2 | 3 | [![Go Reference](https://pkg.go.dev/badge/github.com/irevenko/octostats.svg)](https://pkg.go.dev/github.com/irevenko/octostats) 4 | 5 | > A supplementary Go package on top of go-github and githubv4 6 | 7 |

8 | 9 |

GitHub API Superstructure


10 | 11 | # Installation 🔨 12 | ```go get github.com/google/go-github```
13 | ```go get github.com/google/go-querystring```
14 | ```go get github.com/shurcooL/githubv4```
15 | ```go get golang.org/x/oauth2```

16 | 17 | ```go get github.com/irevenko/octostats``` 18 | 19 | # Methods 🧰 20 | * [REST](#REST "Goto #REST") 21 | * [AllRepos](#AllRepos "Goto ##AllRepos") 22 | * [LanguagesByRepo](#LanguagesByRepo "Goto ##LanguagesByRepo") 23 | * [MostUsedLicenses](#MostUsedLicenses "Goto ##MostUsedLicenses") 24 | * [MostStarredRepos](#MostStarredRepos "Goto ##MostStarredRepos") 25 | * [MostForkedRepos](#MostForkedRepos "Goto ##MostForkedRepos") 26 | * [StarsPerLanguage](#StarsPerLanguage "Goto ##StarsPerLanguage") 27 | * [ForksPerLanguage](#AllRepos "Goto ##ForksPerLanguage") 28 | * [TotalStars](#TotalStars "Goto ##TotalStars") 29 | * [TotalForks](#TotalForks "Goto ##TotalForks") 30 | * [GraphQL](#GraphQL "Goto #GraphQL") 31 | * [LanguagesByCommit](#LanguagesByCommit "Goto ##LanguagesByCommit") 32 | * [AllContributions](#AllContributions "Goto ##AllContributions") 33 | * [AllCommits](#AllCommits "Goto ##AllCommits") 34 | * [AllIssues](#AllIssues "Goto ##AllIssues") 35 | * [AllPullRequests](#AllPullRequests "Goto ##AllPullRequests") 36 | * [YearActivity](#YearActivity "Goto ##YearActivity") 37 | * [UserDetails](#UserDetails "Goto ##UserDetails") 38 | * [OrganizationDetails](#OrganizationDetails "Goto ##OrganizationDetails") 39 | 40 | # Docs 📋 41 | Go Reference: https://pkg.go.dev/github.com/irevenko/octostats 42 | # REST 43 | All examples are using ```AuthREST```
44 | ```ctx, client := r.AuthREST("")``` 45 | 46 | If you want you can write your own auth but keep in mind that you in order to use this package ```client, context``` are required 47 | 48 | 49 | ## AllRepos 50 | Returns slice of repos for user/organization (https://api.github.com/users/USERNAME/repos) 51 | ```go 52 | import ( 53 | "fmt" 54 | "log" 55 | 56 | "github.com/google/go-github/github" 57 | r "github.com/irevenko/octostats/rest" 58 | ) 59 | 60 | func main() { 61 | ctx, client := r.AuthREST("") 62 | 63 | allRepos, err := r.AllRepos(ctx, client, "") 64 | if err != nil { 65 | log.Fatal(err) 66 | } 67 | fmt.Println(allRepos) 68 | } 69 | ``` 70 | 71 | ## LanguagesByRepo 72 | Returns two slices of names and occurrences 73 | ```go 74 | import ( 75 | "fmt" 76 | "log" 77 | "strconv" 78 | 79 | "github.com/google/go-github/github" 80 | r "github.com/irevenko/octostats/rest" 81 | ) 82 | 83 | func main() { 84 | ctx, client := r.AuthREST("") 85 | 86 | allRepos, err := r.AllRepos(ctx, client, "") 87 | if err != nil { 88 | log.Fatal(err) 89 | } 90 | 91 | usedLangs, langsNum := r.LanguagesByRepo(client, allRepos) 92 | fmt.Println("Languages By Repo") 93 | for i, v := range usedLangs { 94 | fmt.Println(v + ": " + strconv.Itoa(langsNum[i])) 95 | } 96 | } 97 | ``` 98 | 99 | ## MostUsedLicenses 100 | Returns two slices of names and occurrences 101 | ``` go 102 | import ( 103 | "fmt" 104 | "log" 105 | "strconv" 106 | 107 | "github.com/google/go-github/github" 108 | r "github.com/irevenko/octostats/rest" 109 | ) 110 | 111 | func main() { 112 | ctx, client := r.AuthREST("") 113 | 114 | allRepos, err := r.AllRepos(ctx, client, "") 115 | if err != nil { 116 | log.Fatal(err) 117 | } 118 | 119 | usedLicenses, licsNum := r.MostUsedLicenses(client, allRepos) 120 | fmt.Println("Most used licenses") 121 | for i, v := range usedLicenses { 122 | fmt.Println(v + ": " + strconv.Itoa(licsNum[i])) 123 | } 124 | } 125 | ``` 126 | 127 | ## MostStarredRepos 128 | Returns two slices of names and stars num 129 | ``` go 130 | import ( 131 | "fmt" 132 | "log" 133 | "strconv" 134 | 135 | "github.com/google/go-github/github" 136 | r "github.com/irevenko/octostats/rest" 137 | ) 138 | 139 | func main() { 140 | ctx, client := r.AuthREST("") 141 | 142 | allRepos, err := r.AllRepos(ctx, client, "") 143 | if err != nil { 144 | log.Fatal(err) 145 | } 146 | 147 | starredRepos, starredNums := r.MostStarredRepos(client, allRepos) 148 | fmt.Println("Most starred repos") 149 | for i, v := range starredRepos { 150 | fmt.Println(v + ": " + strconv.Itoa(starredNums[i])) 151 | } 152 | } 153 | ``` 154 | 155 | ## MostForkedRepos 156 | Returns two slices of names and forks num 157 | ```go 158 | import ( 159 | "fmt" 160 | "log" 161 | "strconv" 162 | 163 | "github.com/google/go-github/github" 164 | r "github.com/irevenko/octostats/rest" 165 | ) 166 | 167 | func main() { 168 | ctx, client := r.AuthREST("") 169 | 170 | allRepos, err := r.AllRepos(ctx, client, "") 171 | if err != nil { 172 | log.Fatal(err) 173 | } 174 | 175 | forkedRepos, forkedNums := r.MostForkedRepos(client, allRepos) 176 | fmt.Println("Most forked repos") 177 | for i, v := range forkedRepos { 178 | fmt.Println(v + ": " + strconv.Itoa(forkedNums[i])) 179 | } 180 | } 181 | ``` 182 | 183 | ## StarsPerLanguage 184 | Returns two slices of languages and stars num 185 | ```go 186 | import ( 187 | "fmt" 188 | "log" 189 | "strconv" 190 | 191 | "github.com/google/go-github/github" 192 | r "github.com/irevenko/octostats/rest" 193 | ) 194 | 195 | func main() { 196 | ctx, client := r.AuthREST("") 197 | 198 | allRepos, err := r.AllRepos(ctx, client, "") 199 | if err != nil { 200 | log.Fatal(err) 201 | } 202 | 203 | starsPerL, starsNum := r.StarsPerLanguage(client, allRepos) 204 | fmt.Println("Stars per lang") 205 | for i, v := range starsPerL { 206 | fmt.Println(v + ": " + strconv.Itoa(starsNum[i])) 207 | } 208 | } 209 | ``` 210 | ## ForksPerLanguage 211 | Returns two slices of languages and forks num 212 | ```go 213 | import ( 214 | "fmt" 215 | "log" 216 | "strconv" 217 | 218 | "github.com/google/go-github/github" 219 | r "github.com/irevenko/octostats/rest" 220 | ) 221 | 222 | func main() { 223 | ctx, client := r.AuthREST("") 224 | 225 | allRepos, err := r.AllRepos(ctx, client, "") 226 | if err != nil { 227 | log.Fatal(err) 228 | } 229 | 230 | forksPerL, forksNum := r.ForksPerLanguage(client, allRepos) 231 | fmt.Println("Forks per lang") 232 | for i, v := range forksPerL { 233 | fmt.Println(v + ": " + strconv.Itoa(forksNum[i])) 234 | } 235 | } 236 | ``` 237 | 238 | ## TotalStars 239 | Returns integer number 240 | ```go 241 | import ( 242 | "fmt" 243 | "log" 244 | 245 | "github.com/google/go-github/github" 246 | r "github.com/irevenko/octostats/rest" 247 | ) 248 | 249 | func main() { 250 | ctx, client := r.AuthREST("") 251 | 252 | allRepos, err := r.AllRepos(ctx, client, "") 253 | if err != nil { 254 | log.Fatal(err) 255 | } 256 | 257 | totalStars := r.TotalStars(client, allRepos) 258 | fmt.Println("Total stars") 259 | fmt.Println(totalStars) 260 | } 261 | ``` 262 | 263 | ## TotalForks 264 | Returns integer number 265 | ```go 266 | import ( 267 | "fmt" 268 | "log" 269 | 270 | "github.com/google/go-github/github" 271 | r "github.com/irevenko/octostats/rest" 272 | ) 273 | 274 | func main() { 275 | ctx, client := r.AuthREST("") 276 | 277 | allRepos, err := r.AllRepos(ctx, client, "") 278 | if err != nil { 279 | log.Fatal(err) 280 | } 281 | 282 | totalForks := r.TotalForks(client, allRepos) 283 | fmt.Println("Total forks") 284 | fmt.Println(totalForks) 285 | } 286 | ``` 287 | 288 | # GraphQL 289 | All examples are using ```AuthGraphQL```
290 | ```client := g.AuthGraphQL("")``` 291 | 292 | If you want you can write your own auth but keep in mind that you in order to use this package ```client``` is required 293 | 294 | ## LanguagesByCommit 295 | Returns two slices of languages and commits
296 | ```from``` and ```to``` must be within 1 year span (2009, 2010 OR 2014, 2015 etc...) 297 | ```go 298 | import ( 299 | "fmt" 300 | "log" 301 | 302 | "github.com/shurcooL/githubv4" 303 | g "github.com/irevenko/octostats/graphql" 304 | ) 305 | 306 | func main() { 307 | qlClient := g.AuthGraphQL("") 308 | 309 | langs, commits, err := g.LanguagesByCommit(qlClient, "", 2020, 2021) 310 | if err != nil { 311 | log.Fatal(err) 312 | } 313 | fmt.Println("\nLanguages by commit") 314 | for i, v := range langs { 315 | fmt.Printf("%v : %v\n", v, commits[i]) 316 | } 317 | } 318 | ``` 319 | 320 | ## AllContributions 321 | Returns ```ContributionsCollection``` (see https://github.com/irevenko/octostats/blob/main/graphql/types.go)
322 | ```from``` and ```to``` must be within 1 year span (2009, 2010 OR 2014, 2015 etc...) 323 | ```go 324 | import ( 325 | "fmt" 326 | "log" 327 | 328 | "github.com/shurcooL/githubv4" 329 | g "github.com/irevenko/octostats/graphql" 330 | ) 331 | 332 | func main() { 333 | qlClient := g.AuthGraphQL("") 334 | 335 | allContribs, err := g.AllContributions(qlClient, "", 2020, 2021) 336 | if err != nil { 337 | log.Fatal(err) 338 | } 339 | fmt.Println("\nAll contribs 2020-2021:") 340 | fmt.Println(allContribs) 341 | } 342 | ``` 343 | 344 | ## AllCommits 345 | Returns ```[]commitContributions``` (see https://github.com/irevenko/octostats/blob/main/graphql/types.go)
346 | ```from``` and ```to``` must be within 1 year span (2009, 2010 OR 2014, 2015 etc...) 347 | ```go 348 | import ( 349 | "fmt" 350 | "log" 351 | 352 | "github.com/shurcooL/githubv4" 353 | g "github.com/irevenko/octostats/graphql" 354 | ) 355 | 356 | func main() { 357 | qlClient := g.AuthGraphQL("") 358 | 359 | allCommits, err := g.AllCommits(qlClient, "", 2020, 2021) 360 | if err != nil { 361 | log.Fatal(err) 362 | } 363 | fmt.Println("\nAll commits 2020-2021:") 364 | fmt.Println(allCommits) 365 | } 366 | ``` 367 | 368 | ## AllIssues 369 | Returns ```[]issueContributions``` (see https://github.com/irevenko/octostats/blob/main/graphql/types.go)
370 | ```from``` and ```to``` must be within 1 year span (2009, 2010 OR 2014, 2015 etc...) 371 | ```go 372 | import ( 373 | "fmt" 374 | "log" 375 | 376 | "github.com/shurcooL/githubv4" 377 | g "github.com/irevenko/octostats/graphql" 378 | ) 379 | 380 | func main() { 381 | qlClient := g.AuthGraphQL("") 382 | 383 | allIssues, err := g.AllIssues(qlClient, "", 2020, 2021) 384 | if err != nil { 385 | log.Fatal(err) 386 | } 387 | fmt.Println("\nAll issues 2020-2021:") 388 | fmt.Println(allIssues) 389 | } 390 | ``` 391 | 392 | ## AllPullRequests 393 | Returns ```[]pullRequestContributions``` (see https://github.com/irevenko/octostats/blob/main/graphql/types.go)
394 | ```from``` and ```to``` must be within 1 year span (2009, 2010 OR 2014, 2015 etc...) 395 | ```go 396 | import ( 397 | "fmt" 398 | "log" 399 | 400 | "github.com/shurcooL/githubv4" 401 | g "github.com/irevenko/octostats/graphql" 402 | ) 403 | 404 | func main() { 405 | qlClient := g.AuthGraphQL("") 406 | 407 | allPrs, err := g.AllPullRequests(qlClient, "", 2020, 2021) 408 | if err != nil { 409 | log.Fatal(err) 410 | } 411 | fmt.Println("\nAll pull requests 2020-2021:") 412 | fmt.Println(allPrs) 413 | } 414 | ``` 415 | 416 | ## YearActivity 417 | Returns two slices of dates and contributions
418 | ```go 419 | import ( 420 | "fmt" 421 | "log" 422 | 423 | "github.com/shurcooL/githubv4" 424 | g "github.com/irevenko/octostats/graphql" 425 | ) 426 | 427 | func main() { 428 | qlClient := g.AuthGraphQL("") 429 | 430 | dates, contribs, err := g.YearActivity(qlClient, "") 431 | if err != nil { 432 | log.Fatal(err) 433 | } 434 | fmt.Println(dates, contribs) 435 | } 436 | ``` 437 | 438 | ## UserDetails 439 | Returns ```User``` (see https://github.com/irevenko/octostats/blob/main/graphql/types.go)
440 | ```go 441 | import ( 442 | "fmt" 443 | "log" 444 | 445 | "github.com/shurcooL/githubv4" 446 | g "github.com/irevenko/octostats/graphql" 447 | ) 448 | 449 | func main() { 450 | qlClient := g.AuthGraphQL("") 451 | 452 | fmt.Println("User Details:") 453 | userInfo, err := g.UserDetails(qlClient, "") 454 | if err != nil { 455 | log.Fatal(err) 456 | } 457 | fmt.Println(userInfo) 458 | } 459 | ``` 460 | 461 | ## OrganizationDetails 462 | Returns ```Organization``` (see https://github.com/irevenko/octostats/blob/main/graphql/types.go)
463 | ```go 464 | import ( 465 | "fmt" 466 | "log" 467 | 468 | "github.com/shurcooL/githubv4" 469 | g "github.com/irevenko/octostats/graphql" 470 | ) 471 | 472 | func main() { 473 | qlClient := g.AuthGraphQL("") 474 | 475 | fmt.Println("Organization Details:") 476 | orgInfo, err := g.OrganizationDetails(qlClient, "") 477 | if err != nil { 478 | log.Fatal(err) 479 | } 480 | fmt.Println(orgInfo) 481 | } 482 | ``` 483 | 484 | # Contributing 🤝 485 | Contributions, issues and feature requests are welcome! 👍
486 | Feel free to check [open issues](https://github.com/irevenko/octostats/issues). 487 | 488 | # What I Learned 🧠 489 | - GraphQL basics 490 | - GoLang API auth 491 | 492 | # Notes 493 | - shows private repos and repos from orgs when using empty string as name (if authorized) 494 | - see readme-stats, metrics 495 | 496 | # License 📑 497 | (c) 2021 Ilya Revenko. [MIT License](https://tldrlegal.com/license/mit-license) 498 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 2 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 3 | cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= 4 | cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= 5 | cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= 6 | cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= 7 | cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= 8 | cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= 9 | cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= 10 | cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= 11 | cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= 12 | cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= 13 | cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= 14 | cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= 15 | cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= 16 | cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= 17 | cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= 18 | cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= 19 | cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= 20 | cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= 21 | cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= 22 | cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= 23 | cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= 24 | cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= 25 | cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= 26 | cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= 27 | cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= 28 | cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= 29 | cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= 30 | cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= 31 | cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= 32 | cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= 33 | dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= 34 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= 35 | github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= 36 | github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= 37 | github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= 38 | github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= 39 | github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= 40 | github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= 41 | github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= 42 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 43 | github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 44 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 45 | github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= 46 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= 47 | github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= 48 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 49 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 50 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= 51 | github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 52 | github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 53 | github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 54 | github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 55 | github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 56 | github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= 57 | github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 58 | github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 59 | github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 60 | github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= 61 | github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 62 | github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 63 | github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 64 | github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 65 | github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 66 | github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= 67 | github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= 68 | github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= 69 | github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= 70 | github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= 71 | github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= 72 | github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= 73 | github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= 74 | github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 75 | github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 76 | github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 77 | github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= 78 | github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 79 | github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 80 | github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 81 | github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 82 | github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 83 | github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= 84 | github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 85 | github.com/google/go-github/v33 v33.0.0 h1:qAf9yP0qc54ufQxzwv+u9H0tiVOnPJxo0lI/JXqw3ZM= 86 | github.com/google/go-github/v33 v33.0.0/go.mod h1:GMdDnVZY/2TsWgp/lkYnpSAh6TrzhANBBwm6k6TTEXg= 87 | github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= 88 | github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= 89 | github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= 90 | github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= 91 | github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 92 | github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 93 | github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 94 | github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 95 | github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 96 | github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 97 | github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 98 | github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= 99 | github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= 100 | github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= 101 | github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 102 | github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 103 | github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= 104 | github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= 105 | github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= 106 | github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= 107 | github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= 108 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 109 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 110 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 111 | github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 112 | github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= 113 | github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa h1:jozR3igKlnYCj9IVHOVump59bp07oIRoLQ/CcjMYIUA= 114 | github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa/go.mod h1:hAF0iLZy4td2EX+/8Tw+4nodhlMrwN3HupfaXj3zkGo= 115 | github.com/shurcooL/graphql v0.0.0-20200928012149-18c5c3165e3a h1:KikTa6HtAK8cS1qjvUvvq4QO21QnwC+EfvB+OAuZ/ZU= 116 | github.com/shurcooL/graphql v0.0.0-20200928012149-18c5c3165e3a/go.mod h1:AuYgA5Kyo4c7HfUmvRGs/6rGlMMV/6B1bVnB9JxJEEg= 117 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 118 | github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= 119 | github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 120 | github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 121 | github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 122 | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= 123 | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= 124 | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 125 | go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 126 | go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 127 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 128 | golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 129 | golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 130 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 131 | golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI= 132 | golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 133 | golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 134 | golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 135 | golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= 136 | golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= 137 | golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= 138 | golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 139 | golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 140 | golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 141 | golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= 142 | golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= 143 | golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= 144 | golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= 145 | golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 146 | golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= 147 | golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 148 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 149 | golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 150 | golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 151 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 152 | golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= 153 | golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 154 | golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 155 | golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= 156 | golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= 157 | golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= 158 | golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= 159 | golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 160 | golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 161 | golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 162 | golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 163 | golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 164 | golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 165 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 166 | golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 167 | golang.org/x/net v0.0.0-20190311183353-d8887717615a h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628= 168 | golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 169 | golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 170 | golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 171 | golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 172 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= 173 | golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 174 | golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 175 | golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 176 | golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 177 | golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 178 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 179 | golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 180 | golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 181 | golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 182 | golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 183 | golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 184 | golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 185 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 186 | golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 187 | golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 188 | golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 189 | golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 190 | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 h1:qWPm9rbaAMKs8Bq/9LRpbMqxWRVUAQwMI9fVrssnTfw= 191 | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 192 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= 193 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 194 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 195 | golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 196 | golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 197 | golang.org/x/oauth2 v0.0.0-20210311163135-5366d9dc1934 h1:Y2nxrNrrWOZn5yjDEEVU3R7V9HGW5SWsw6B6YL/ZRFw= 198 | golang.org/x/oauth2 v0.0.0-20210311163135-5366d9dc1934/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= 199 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 200 | golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 201 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 202 | golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 203 | golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 204 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 205 | golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 206 | golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 207 | golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 208 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 209 | golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 210 | golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 211 | golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 212 | golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 213 | golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 214 | golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 215 | golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 216 | golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 217 | golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 218 | golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 219 | golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 220 | golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 221 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 222 | golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 223 | golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 224 | golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 225 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 226 | golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 227 | golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 228 | golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 229 | golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 230 | golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 231 | golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 232 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 233 | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= 234 | golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 235 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 236 | golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 237 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= 238 | golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 239 | golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 240 | golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 241 | golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 242 | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 243 | golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 244 | golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= 245 | golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 246 | golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 247 | golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 248 | golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 249 | golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 250 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 251 | golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 252 | golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 253 | golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 254 | golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 255 | golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 256 | golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 257 | golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 258 | golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 259 | golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 260 | golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 261 | golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 262 | golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 263 | golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 264 | golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 265 | golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 266 | golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 267 | golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 268 | golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 269 | golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 270 | golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 271 | golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 272 | golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= 273 | golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= 274 | golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= 275 | golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 276 | golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 277 | golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 278 | golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 279 | golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 280 | golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 281 | golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 282 | golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 283 | golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 284 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 285 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= 286 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 287 | google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= 288 | google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= 289 | google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 290 | google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 291 | google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 292 | google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 293 | google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 294 | google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 295 | google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 296 | google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 297 | google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 298 | google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 299 | google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= 300 | google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= 301 | google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= 302 | google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= 303 | google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= 304 | google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 305 | google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 306 | google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= 307 | google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 308 | google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= 309 | google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 310 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= 311 | google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 312 | google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 313 | google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 314 | google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 315 | google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 316 | google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 317 | google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= 318 | google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 319 | google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 320 | google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 321 | google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 322 | google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 323 | google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 324 | google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= 325 | google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 326 | google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 327 | google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 328 | google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 329 | google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 330 | google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 331 | google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 332 | google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 333 | google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= 334 | google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= 335 | google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= 336 | google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 337 | google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 338 | google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 339 | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= 340 | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= 341 | google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= 342 | google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= 343 | google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= 344 | google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 345 | google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 346 | google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 347 | google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= 348 | google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= 349 | google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 350 | google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 351 | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= 352 | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= 353 | google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= 354 | google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= 355 | google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= 356 | google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 357 | google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 358 | google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 359 | google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= 360 | google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= 361 | google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= 362 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 363 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 364 | gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= 365 | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 366 | honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 367 | honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 368 | honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 369 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 370 | honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= 371 | honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= 372 | honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= 373 | rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= 374 | rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= 375 | rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= 376 | --------------------------------------------------------------------------------