mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
A Builder is now just a Program and a Context. Details of this CL: - Builder.imp field removed. - Builder.globals split up into Package.values and Prog.Builtins. - Builder.packages moved to Prog.packages. - Builder.PackageFor moved to Program.Package(types.Object) - Program.Lookup() func replaces Builder.globals map. - also: keep Package.info field around until end of BuildPackage. Planned follow-ups to eliminate Builder from API: - split NewBuilder up into NewProgram and Program.CreatePackages(...) - move Builder.BuildAllPackages -> Program.BuildAll(Context) - move Builder.BuildPackage -> Package.Build(Context) R=gri, iant CC=golang-dev https://golang.org/cl/9966044
This subrepository holds the source for various packages and tools that support the Go programming language. Although at least some of the tools themselves will be included in binary Go distributions, the packages from which they are built are of little interest to most Go programmers. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Languages
Go
94.1%
Assembly
5.5%
C
0.2%
Shell
0.1%