From: kargakis Date: Tue, 27 Oct 2015 15:25:08 +0000 (+0100) Subject: reflect: Comment fix X-Git-Tag: go1.6beta1~707 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e243d242d750f19cd1c3aefa7da1ad238f21502e;p=gostls13.git reflect: Comment fix Change-Id: I86cdd5c1d7b6f76d3474d180e75ea0c732241080 Reviewed-on: https://go-review.googlesource.com/16309 Reviewed-by: Brad Fitzpatrick --- 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