field: fix doc typo

This commit is contained in:
Fatih Arslan 2014-08-12 11:29:05 +03:00
parent 5e0c20298b
commit 548248a457

View File

@ -57,8 +57,8 @@ func (f *Field) Field(name string) *Field {
}
// Field returns the field from a nested struct. The boolean returns true if
// the field was not found. It panics if the nested struct is not exported or
// if the field was not found.
// the field was found. It panics if the nested struct is not exported or if
// the field was not found.
func (f *Field) FieldOk(name string) (*Field, bool) {
v := strctVal(f.value.Interface())
t := v.Type()