Repository: google/go-github
Pull request #1056 (2018-11-22 02:31:43)

V19 updates


Patch:
diff --git a/README.md b/README.md
index 7bba67db..6e18a33b 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/v18/github"	// with go modules enabled (GO111MODULE=on or outside GOPATH)
+import "github.com/google/go-github/v19/github"	// with go modules enabled (GO111MODULE=on or outside GOPATH)
 import "github.com/google/go-github/github" // with go modules disabled
 ```
 
@@ -225,7 +225,7 @@ You can run integration tests from the `test` directory. See the integration tes
 This library is being initially developed for an internal application at
 Google, so API methods will likely be implemented in the order that they are
 needed by that application. You can track the status of implementation in
-[this Google spreadsheet][roadmap]. 
+[this Google spreadsheet][roadmap].
 
 [roadmap]: https://docs.google.com/spreadsheet/ccc?key=0ApoVX4GOiXr-dGNKN1pObFh6ek1DR2FKUjBNZ1FmaEE&usp=sharing
 
diff --git a/example/appengine/app.go b/example/appengine/app.go
index 38f24e4e..81756b5c 100644
--- a/example/appengine/app.go
+++ b/example/appengine/app.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"os"
 
-	"github.com/google/go-github/v18/github"
+	"github.com/google/go-github/v19/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 8dfd68a6..2c7f4934 100644
--- a/example/basicauth/main.go
+++ b/example/basicauth/main.go
@@ -16,7 +16,7 @@ import (
 	"strings"
 	"syscall"
 
-	"github.com/google/go-github/v18/github"
+	"github.com/google/go-github/v19/github"
 	"golang.org/x/crypto/ssh/terminal"
 )
 
diff --git a/example/commitpr/main.go b/example/commitpr/main.go
index 80ac88e8..b62079a5 100644
--- a/example/commitpr/main.go
+++ b/example/commitpr/main.go
@@ -31,7 +31,7 @@ import (
 	"strings"
 	"time"
 
-	"github.com/google/go-github/v18/github"
+	"github.com/google/go-github/v19/github"
 	"golang.org/x/oauth2"
 )
 
diff --git a/example/migrations/main.go b/example/migrations/main.go
index d8266068..8a80252f 100644
--- a/example/migrations/main.go
+++ b/example/migrations/main.go
@@ -11,7 +11,8 @@ package main
 import (
 	"context"
 	"fmt"
-	"github.com/google/go-github/v18/github"
+
+	"github.com/google/go-github/v19/github"
 	"golang.org/x/oauth2"
 )
 
diff --git a/example/newrepo/main.go b/example/newrepo/main.go
index 49fba776..af3127a4 100644
--- a/example/newrepo/main.go
+++ b/example/newrepo/main.go
@@ -16,7 +16,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/google/go-github/v18/github"
+	"github.com/google/go-github/v19/github"
 	"golang.org/x/oauth2"
 )
 
diff --git a/example/simple/main.go b/example/simple/main.go
index 5f2ce20a..02da00f8 100644
--- a/example/simple/main.go
+++ b/example/simple/main.go
@@ -12,7 +12,7 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/google/go-github/v18/github"
+	"github.com/google/go-github/v19/github"
 )
 
 // Fetch all the public organizations' membership of a user.
diff --git a/go.mod b/go.mod
index 9fb89f5d..b12d7b70 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/google/go-github/v18
+module github.com/google/go-github/v19
 
 require (
 	github.com/golang/protobuf v1.2.0 // indirect


Test patch:
diff --git a/github/examples_test.go b/github/examples_test.go
index 70194a1a..67437a7d 100644
--- a/github/examples_test.go
+++ b/github/examples_test.go
@@ -12,7 +12,7 @@ import (
 	"fmt"
 	"log"
 
-	"github.com/google/go-github/v18/github"
+	"github.com/google/go-github/v19/github"
 )
 
 func ExampleClient_Markdown() {
diff --git a/test/fields/fields.go b/test/fields/fields.go
index 1a75a4c6..533c0522 100644
--- a/test/fields/fields.go
+++ b/test/fields/fields.go
@@ -25,7 +25,7 @@ import (
 	"reflect"
 	"strings"
 
-	"github.com/google/go-github/v18/github"
+	"github.com/google/go-github/v19/github"
 	"golang.org/x/oauth2"
 )