Glossary: Go Beyond the Basics
unexported field
Also written: exported, private field
A struct field whose name starts with a lowercase letter, so other packages can't see it. `encoding/json` skips unexported fields, such as `cost`.
Glossary: Go Beyond the Basics
Also written: exported, private field
A struct field whose name starts with a lowercase letter, so other packages can't see it. `encoding/json` skips unexported fields, such as `cost`.