go/packages: fix docs
Change-Id: Ife879995fd1a8f23821efefe6970a0e907f2fb12 Reviewed-on: https://go-review.googlesource.com/132600 Run-TryBot: Todd Neal <todd@tneal.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com>
This commit is contained in:
parent
4bc20fc791
commit
7ca1327549
|
@ -221,7 +221,7 @@ type Package struct {
|
|||
// Types provides type information for the package.
|
||||
// Modes LoadTypes and above set this field for packages matching the
|
||||
// patterns; type information for dependencies may be missing or incomplete.
|
||||
// Mode LoadSyntaxAll sets this field for all packages, including dependencies.
|
||||
// Mode LoadAllSyntax sets this field for all packages, including dependencies.
|
||||
Types *types.Package
|
||||
|
||||
// Fset provides position information for Types, TypesInfo, and Syntax.
|
||||
|
@ -235,7 +235,7 @@ type Package struct {
|
|||
// Syntax is the package's syntax trees, for the files listed in CompiledGoFiles.
|
||||
//
|
||||
// Mode LoadSyntax sets this field for packages matching the patterns.
|
||||
// Mode LoadSyntaxAll sets this field for all packages, including dependencies.
|
||||
// Mode LoadAllSyntax sets this field for all packages, including dependencies.
|
||||
Syntax []*ast.File
|
||||
|
||||
// TypesInfo provides type information about the package's syntax trees.
|
||||
|
|
Loading…
Reference in New Issue