Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Update for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cespare committed Sep 17, 2019
1 parent 858c8ef commit 0f1119c
Show file tree
Hide file tree
Showing 167 changed files with 25 additions and 30,057 deletions.
3 changes: 2 additions & 1 deletion gg.go
@@ -1,6 +1,7 @@
package main

import (
"context"
"flag"
"fmt"
"io/ioutil"
Expand Down Expand Up @@ -77,7 +78,7 @@ where flags are:`)
opt := &github.RepositoryListOptions{Type: "owner"}
tw := tabwriter.NewWriter(os.Stdout, 0, 1, 4, ' ', 0)
for {
repos, resp, err := client.Repositories.List(*user, opt)
repos, resp, err := client.Repositories.List(context.Background(), *user, opt)
if err != nil {
log.Fatal(err)
}
Expand Down
9 changes: 9 additions & 0 deletions go.mod
@@ -0,0 +1,9 @@
module github.com/cespare/gg

go 1.13

require (
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.0.0 // indirect
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
)
14 changes: 14 additions & 0 deletions go.sum
@@ -0,0 +1,14 @@
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY=
github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
341 changes: 0 additions & 341 deletions vendor/github.com/google/go-github/LICENSE

This file was deleted.

67 changes: 0 additions & 67 deletions vendor/github.com/google/go-github/github/activity.go

This file was deleted.

0 comments on commit 0f1119c

Please sign in to comment.