k3s/third_party/golang/go
Tim Hockin 492aad6de3 update third_party go/build to go1.6 2016-05-08 20:30:38 -07:00
..
ast Fixing import format in thirdparty libraries to separate local imports. 2015-11-24 10:31:26 -05:00
build update third_party go/build to go1.6 2016-05-08 20:30:38 -07:00
constant Vendor in go1.5.1 dependency 2015-10-21 09:56:36 -07:00
doc Fixing import format in thirdparty libraries to separate local imports. 2015-11-24 10:31:26 -05:00
parser Fixing import format in thirdparty libraries to separate local imports. 2015-11-24 10:31:26 -05:00
printer Fixing import format in thirdparty libraries to separate local imports. 2015-11-24 10:31:26 -05:00
scanner Fixing import format in thirdparty libraries to separate local imports. 2015-11-24 10:31:26 -05:00
token Vendor in go1.5.1 dependency 2015-10-21 09:56:36 -07:00
types Fixing import format in thirdparty libraries to separate local imports. 2015-11-24 10:31:26 -05:00
README.md Vendor in go1.5.1 dependency 2015-10-21 09:56:36 -07:00

README.md

Vendored copy of go1.5.1's standard library's go/... packages.

Q: Why did you do this awful vendoring?

A: We need to build under go 1.3 and go 1.4 (soon to be go 1.4 and go 1.5.1). A version of the go/types package existed for go 1.4, but it does not have the same interface as the go 1.5 package, and @lavalamp had much better luck with the 1.5.1 package anyway.

We will get rid of this as soon as there's a more standard way to do this, or when we roll over to supporting go 1.5 and go 1.6.

Note that the packages here were not very happy about being transplated like this and if you do a diff you will see the changes made to get everything to compile.