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:
Todd Neal 2018-08-31 15:37:03 -05:00 committed by Kevin Burke
parent 4bc20fc791
commit 7ca1327549
1 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ type Package struct {
// Types provides type information for the package. // Types provides type information for the package.
// Modes LoadTypes and above set this field for packages matching the // Modes LoadTypes and above set this field for packages matching the
// patterns; type information for dependencies may be missing or incomplete. // 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 Types *types.Package
// Fset provides position information for Types, TypesInfo, and Syntax. // 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. // Syntax is the package's syntax trees, for the files listed in CompiledGoFiles.
// //
// Mode LoadSyntax sets this field for packages matching the patterns. // 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 Syntax []*ast.File
// TypesInfo provides type information about the package's syntax trees. // TypesInfo provides type information about the package's syntax trees.