From 548248a457b0d0442138adfe6c508747c397f445 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Tue, 12 Aug 2014 11:29:05 +0300 Subject: [PATCH] field: fix doc typo --- field.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/field.go b/field.go index 358a071..4022310 100644 --- a/field.go +++ b/field.go @@ -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()