Skip to content

Commit

Permalink
cmd/go/internal/load: fix IsMetaPackage function name in doc
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dmitshur authored and davecheney committed Aug 28, 2017
1 parent 6eef2bb commit 2abef59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/go/internal/load/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 2abef59

Please sign in to comment.