diff options
Diffstat (limited to 'go/packages')
-rw-r--r-- | go/packages/external.go | 2 | ||||
-rw-r--r-- | go/packages/packages.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/go/packages/external.go b/go/packages/external.go index 860c3ec15..22ff769ef 100644 --- a/go/packages/external.go +++ b/go/packages/external.go @@ -18,7 +18,7 @@ import ( // Driver type driverRequest struct { - Command string `json "command"` + Command string `json:"command"` Mode LoadMode `json:"mode"` Env []string `json:"env"` BuildFlags []string `json:"build_flags"` diff --git a/go/packages/packages.go b/go/packages/packages.go index 7d0198ff9..b0e827fb6 100644 --- a/go/packages/packages.go +++ b/go/packages/packages.go @@ -137,7 +137,7 @@ type Config struct { BuildFlags []string // Fset provides source position information for syntax trees and types. - // If Fset is nil, the loader will create a new FileSet. + // If Fset is nil, Load will use a new fileset, but preserve Fset's value. Fset *token.FileSet // ParseFile is called to read and parse each file |