diff --git a/README.md b/README.md index 1dc3404..752ba57 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ v := s.Values() // Get a []interface{} f := s.Fields() // Get a []*Field n := s.Names() // Get a []string f := s.Field(name) // Get a *Field based on the given field name -f, ok := s.FieldsOk(name) // Get a *Field based on the given field name +f, ok := s.FieldOk(name) // Get a *Field based on the given field name n := s.Name() // Get the struct name h := s.HasZero() // Check if any field is initialized z := s.IsZero() // Check if all fields are initialized