Skip to content

Commit

Permalink
go/packages: fix docs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tzneal authored and kevinburke committed Aug 31, 2018
1 parent 4bc20fc commit 7ca1327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/packages/packages.go
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 7ca1327

Please sign in to comment.