From e243d242d750f19cd1c3aefa7da1ad238f21502e Mon Sep 17 00:00:00 2001 From: kargakis Date: Tue, 27 Oct 2015 16:25:08 +0100 Subject: [PATCH] reflect: Comment fix Change-Id: I86cdd5c1d7b6f76d3474d180e75ea0c732241080 Reviewed-on: https://go-review.googlesource.com/16309 Reviewed-by: Brad Fitzpatrick --- src/reflect/type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflect/type.go b/src/reflect/type.go index aa56fcbe95..003c610cb1 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -735,10 +735,10 @@ func (t *interfaceType) MethodByName(name string) (m Method, ok bool) { // A StructField describes a single field in a struct. type StructField struct { // Name is the field name. + Name string // PkgPath is the package path that qualifies a lower case (unexported) // field name. It is empty for upper case (exported) field names. // See https://golang.org/ref/spec#Uniqueness_of_identifiers - Name string PkgPath string Type Type // field type -- 2.48.1