We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ac96b commit 202502aCopy full SHA for 202502a
go/packages/external.go
@@ -18,7 +18,7 @@ import (
18
19
// Driver
20
type driverRequest struct {
21
- Command string `json "command"`
+ Command string `json:"command"`
22
Mode LoadMode `json:"mode"`
23
Env []string `json:"env"`
24
BuildFlags []string `json:"build_flags"`
go/packages/packages.go
@@ -137,7 +137,7 @@ type Config struct {
137
BuildFlags []string
138
139
// Fset provides source position information for syntax trees and types.
140
- // 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.
141
Fset *token.FileSet
142
143
// ParseFile is called to read and parse each file
0 commit comments