diff --git a/README.md b/README.md index b0308f750ad..70fbabb7b4a 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,7 @@ go run tools/gen-release-notes/main.go --tag v82.0.0 ## Usage ## ```go -import "github.com/google/go-github/v82/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) -import "github.com/google/go-github/github" // with go modules disabled +import "github.com/google/go-github/v82/github" ``` Construct a new GitHub client, then use the various services on the client to diff --git a/github/doc.go b/github/doc.go index 850f3ddbaa4..a368d773a9b 100644 --- a/github/doc.go +++ b/github/doc.go @@ -8,8 +8,7 @@ Package github provides a client for using the GitHub API. Usage: - import "github.com/google/go-github/v82/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) - import "github.com/google/go-github/github" // with go modules disabled + import "github.com/google/go-github/v82/github" Construct a new GitHub client, then use the various services on the client to access different parts of the GitHub API. For example: