From 341a8c500d28f7b311919b4eb3c07c4a617551c3 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Fri, 13 Feb 2026 16:39:20 +0200 Subject: [PATCH] docs: Update usage instructions --- README.md | 3 +-- github/doc.go | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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: