You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current output is not bad, but not perfect.
The reason is the field Config.X is also exported, but it is not mentioned in the printed doc.
Users of the foo package must read code to know that the field Config.X is usable.
What did you see instead?
package foo // import "foo"
type Config struct {
Y int
// Has unexported fields.
}
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?go version go1.11 linux/amd64
Does this issue reproduce with the latest release?
yes
What did you do?
What did you expect to see?
The current output is not bad, but not perfect.
The reason is the field
Config.X
is also exported, but it is not mentioned in the printed doc.Users of the
foo
package must read code to know that the fieldConfig.X
is usable.What did you see instead?
The text was updated successfully, but these errors were encountered: