Skip to content

Commit e243d24

Browse files
0xmichalisbradfitz
authored andcommitted
reflect: Comment fix
Change-Id: I86cdd5c1d7b6f76d3474d180e75ea0c732241080 Reviewed-on: https://go-review.googlesource.com/16309 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 00f4243 commit e243d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reflect/type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,10 +735,10 @@ func (t *interfaceType) MethodByName(name string) (m Method, ok bool) {
735735
// A StructField describes a single field in a struct.
736736
type StructField struct {
737737
// Name is the field name.
738+
Name string
738739
// PkgPath is the package path that qualifies a lower case (unexported)
739740
// field name. It is empty for upper case (exported) field names.
740741
// See https://golang.org/ref/spec#Uniqueness_of_identifiers
741-
Name string
742742
PkgPath string
743743

744744
Type Type // field type

0 commit comments

Comments
 (0)