From 2abef5976a5a7c761579b19e10680347968caef2 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Sun, 27 Aug 2017 23:17:12 -0400 Subject: [PATCH] cmd/go/internal/load: fix IsMetaPackage function name in doc The IsMetaPackage function was made exported when it was moved from cmd/go to cmd/go/internal/load in CL 36196. Its documentation wasn't updated accordingly. This change fixes that, resolving a golint issue. Updates #18653. Change-Id: Icf89461000754d0f09e6617b11c838e4c050d5a6 Reviewed-on: https://go-review.googlesource.com/59430 Reviewed-by: Dave Cheney --- src/cmd/go/internal/load/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/internal/load/search.go b/src/cmd/go/internal/load/search.go index 0c7d9ce0e6..0199704439 100644 --- a/src/cmd/go/internal/load/search.go +++ b/src/cmd/go/internal/load/search.go @@ -332,7 +332,7 @@ func ImportPathsNoDotExpansion(args []string) []string { return out } -// isMetaPackage checks if name is a reserved package name that expands to multiple packages. +// IsMetaPackage checks if name is a reserved package name that expands to multiple packages. func IsMetaPackage(name string) bool { return name == "std" || name == "cmd" || name == "all" }