From 9862c35773a14ca029b7da49c410111ba13830a0 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Sat, 6 May 2017 17:06:16 +0900 Subject: [PATCH] go/gcexportdata: fix unnecessary plural type definitions of arg importPath and srcDir are both of string type. Change-Id: Ia5230bd19ea83bc210cb0b1a50046e4e0ef2accb Reviewed-on: https://go-review.googlesource.com/42890 Reviewed-by: Brad Fitzpatrick --- go/gcexportdata/gcexportdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/gcexportdata/gcexportdata.go b/go/gcexportdata/gcexportdata.go index 572da5c9..e53270e0 100644 --- a/go/gcexportdata/gcexportdata.go +++ b/go/gcexportdata/gcexportdata.go @@ -44,7 +44,7 @@ import ( // // Find also returns the package's resolved (canonical) import path, // reflecting the effects of srcDir and vendoring on importPath. -func Find(importPath string, srcDir string) (filename, path string) { +func Find(importPath, srcDir string) (filename, path string) { return gcimporter.FindPkg(importPath, srcDir) }