From 7c7d51f489bc54d96dfa34c497601b4a05d760c7 Mon Sep 17 00:00:00 2001 From: Glenn Lewis Date: Wed, 12 Dec 2018 20:39:01 -0500 Subject: [PATCH] Upgrade module to v20 --- README.md | 2 +- example/appengine/app.go | 2 +- example/basicauth/main.go | 2 +- example/commitpr/main.go | 2 +- example/migrations/main.go | 2 +- example/newrepo/main.go | 2 +- example/simple/main.go | 2 +- github/examples_test.go | 2 +- go.mod | 3 ++- go.sum | 2 ++ test/fields/fields.go | 2 +- 11 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6e18a33b295..18c54e9f9fe 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ If you're interested in using the [GraphQL API v4][], the recommended library is ## Usage ## ```go -import "github.com/google/go-github/v19/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) +import "github.com/google/go-github/v20/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) import "github.com/google/go-github/github" // with go modules disabled ``` diff --git a/example/appengine/app.go b/example/appengine/app.go index 81756b5c372..f36eaa0ca42 100644 --- a/example/appengine/app.go +++ b/example/appengine/app.go @@ -12,7 +12,7 @@ import ( "net/http" "os" - "github.com/google/go-github/v19/github" + "github.com/google/go-github/v20/github" "golang.org/x/oauth2" "google.golang.org/appengine" "google.golang.org/appengine/log" diff --git a/example/basicauth/main.go b/example/basicauth/main.go index 2c7f4934c04..fb0fdbf83cb 100644 --- a/example/basicauth/main.go +++ b/example/basicauth/main.go @@ -16,7 +16,7 @@ import ( "strings" "syscall" - "github.com/google/go-github/v19/github" + "github.com/google/go-github/v20/github" "golang.org/x/crypto/ssh/terminal" ) diff --git a/example/commitpr/main.go b/example/commitpr/main.go index b62079a5317..7ebd3f0bd2a 100644 --- a/example/commitpr/main.go +++ b/example/commitpr/main.go @@ -31,7 +31,7 @@ import ( "strings" "time" - "github.com/google/go-github/v19/github" + "github.com/google/go-github/v20/github" "golang.org/x/oauth2" ) diff --git a/example/migrations/main.go b/example/migrations/main.go index 8a80252fdeb..dfeb7adfffe 100644 --- a/example/migrations/main.go +++ b/example/migrations/main.go @@ -12,7 +12,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v19/github" + "github.com/google/go-github/v20/github" "golang.org/x/oauth2" ) diff --git a/example/newrepo/main.go b/example/newrepo/main.go index af3127a4952..e2f30f745f1 100644 --- a/example/newrepo/main.go +++ b/example/newrepo/main.go @@ -16,7 +16,7 @@ import ( "log" "os" - "github.com/google/go-github/v19/github" + "github.com/google/go-github/v20/github" "golang.org/x/oauth2" ) diff --git a/example/simple/main.go b/example/simple/main.go index 02da00f834c..2468a546bfe 100644 --- a/example/simple/main.go +++ b/example/simple/main.go @@ -12,7 +12,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v19/github" + "github.com/google/go-github/v20/github" ) // Fetch all the public organizations' membership of a user. diff --git a/github/examples_test.go b/github/examples_test.go index 67437a7db0f..5ef43ced3af 100644 --- a/github/examples_test.go +++ b/github/examples_test.go @@ -12,7 +12,7 @@ import ( "fmt" "log" - "github.com/google/go-github/v19/github" + "github.com/google/go-github/v20/github" ) func ExampleClient_Markdown() { diff --git a/go.mod b/go.mod index b12d7b70c6c..1e327b4177c 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,8 @@ -module github.com/google/go-github/v19 +module github.com/google/go-github/v20 require ( github.com/golang/protobuf v1.2.0 // indirect + github.com/google/go-github v17.0.0+incompatible // indirect github.com/google/go-querystring v1.0.0 golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac golang.org/x/net v0.0.0-20180826012351-8a410e7b638d // indirect diff --git a/go.sum b/go.sum index 058a096e36b..6776a9fc58d 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= 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 v0.0.0-20170111101155-53e6ce116135 h1:zLTLjkaOFEFIOxY5BWLFLwh+cL8vOBW4XJ2aqLE/Tf0= github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= diff --git a/test/fields/fields.go b/test/fields/fields.go index 533c0522190..158959f06cc 100644 --- a/test/fields/fields.go +++ b/test/fields/fields.go @@ -25,7 +25,7 @@ import ( "reflect" "strings" - "github.com/google/go-github/v19/github" + "github.com/google/go-github/v20/github" "golang.org/x/oauth2" )