1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:28:37 -06:00
go/go/packages
Ian Cottrell 214274eeeb go/packages: changes to the API per CL 125305
Collapse the main entry points to the single Load function.
Make public the Mode enumeration in the Config.
Add a lowest level mode that does not do the import graph.
Remove PkgPath.
Remove the DisableCgo option.
Rename some fields of Package:
  Srcs -> GoFiles
  OtherSrcs -> OtherFiles
  Type -> Types
  Files -> Syntax
  Info -> TypesInfo
delete the All function

Change-Id: I54e5dc3ca5cb0b7e33fe6aa6f70cc66e18ea8cac
Reviewed-on: https://go-review.googlesource.com/125535
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2018-07-25 00:10:29 +00:00
..
gopackages go/packages: changes to the API per CL 125305 2018-07-25 00:10:29 +00:00
doc.go go/packages: revise documentation 2018-07-23 18:30:23 +00:00
golist.go go/packages: changes to the API per CL 125305 2018-07-25 00:10:29 +00:00
packages110_test.go go/packages: changes to the API per CL 125305 2018-07-25 00:10:29 +00:00
packages_test.go go/packages: changes to the API per CL 125305 2018-07-25 00:10:29 +00:00
packages.go go/packages: changes to the API per CL 125305 2018-07-25 00:10:29 +00:00
stdlib_test.go go/packages: changes to the API per CL 125305 2018-07-25 00:10:29 +00:00