From e740a6811a5bc7a8fba64fe1594860d4f982b4c3 Mon Sep 17 00:00:00 2001 From: Dmitry Savintsev Date: Wed, 16 Jan 2019 02:05:53 +0100 Subject: [PATCH] doc.go - include versioned import path (#1098) --- github/doc.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/github/doc.go b/github/doc.go index 96445d2648a..165d63e266d 100644 --- a/github/doc.go +++ b/github/doc.go @@ -8,7 +8,8 @@ Package github provides a client for using the GitHub API. Usage: - import "github.com/google/go-github/github" + import "github.com/google/go-github/v21/github" // with go modules enabled (GO111MODULE=on or outside GOPATH) + import "github.com/google/go-github/github" // with go modules disabled Construct a new GitHub client, then use the various services on the client to access different parts of the GitHub API. For example: