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 00f4243 commit e243d24Copy full SHA for e243d24
src/reflect/type.go
@@ -735,10 +735,10 @@ func (t *interfaceType) MethodByName(name string) (m Method, ok bool) {
735
// A StructField describes a single field in a struct.
736
type StructField struct {
737
// Name is the field name.
738
+ Name string
739
// PkgPath is the package path that qualifies a lower case (unexported)
740
// field name. It is empty for upper case (exported) field names.
741
// See https://golang.org/ref/spec#Uniqueness_of_identifiers
- Name string
742
PkgPath string
743
744
Type Type // field type
0 commit comments