From e6cb469339aef5b7be0c89de730d5f3cc8e47e50 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Thu, 22 Jun 2017 16:15:10 +0900 Subject: [PATCH] imports: fix LocalPrefix document prefix golint suggested: comment on exported var LocalPrefix should be of the form "LocalPrefix ..." Change-Id: I1d2f92ba76e3c091440f676936dbb1fc1ce07f3a Reviewed-on: https://go-review.googlesource.com/46432 Reviewed-by: Brad Fitzpatrick --- imports/fix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/fix.go b/imports/fix.go index e772b6df..f26414a5 100644 --- a/imports/fix.go +++ b/imports/fix.go @@ -32,7 +32,7 @@ var ( testMu sync.RWMutex // guards globals reset by tests; used only if inTests ) -// If set, LocalPrefix instructs Process to sort import paths with the given +// LocalPrefix, if set, instructs Process to sort import paths with the given // prefix into another group after 3rd-party packages. var LocalPrefix string