Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumGoreflection basicsSingle-choice MCQ

For a struct field declared as unexported, what is true about reflection access?

type T struct { name string } t := T{"go"} f := reflect.ValueOf(t).Field(0)