1
0
mirror of https://github.com/golang/go synced 2024-11-18 06:34:53 -07:00

reflect: Comment fix

Change-Id: I86cdd5c1d7b6f76d3474d180e75ea0c732241080
Reviewed-on: https://go-review.googlesource.com/16309
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
kargakis 2015-10-27 16:25:08 +01:00 committed by Brad Fitzpatrick
parent 00f42437fd
commit e243d242d7

View File

@ -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