1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:08:33 -06:00

go.tools/vcs: allow compilation with go 1.0

It would be nice to be able to use this package
as a dependency (or other go utilities in the
ecosystem that depend on this package) in
environments which have not (or cannot) for
whatever reason upgraded to newer versions of
golang.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/14283043
This commit is contained in:
Matt Reiferson 2013-10-04 11:46:57 +10:00 committed by Andrew Gerrand
parent c8494e30f9
commit 6af036a659

View File

@ -59,6 +59,7 @@ func parseMetaGoImports(r io.Reader) (imports []metaImport, err error) {
})
}
}
return
}
// attrValue returns the attribute value for the case-insensitive key