correct typo in README

This commit is contained in:
Martin Czygan 2015-05-25 23:23:46 +02:00
parent b4641b79cf
commit 16e63b69c7

View File

@ -79,7 +79,7 @@ v := s.Values() // Get a []interface{}
f := s.Fields() // Get a []*Field f := s.Fields() // Get a []*Field
n := s.Names() // Get a []string n := s.Names() // Get a []string
f := s.Field(name) // Get a *Field based on the given field name 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 n := s.Name() // Get the struct name
h := s.HasZero() // Check if any field is initialized h := s.HasZero() // Check if any field is initialized
z := s.IsZero() // Check if all fields are initialized z := s.IsZero() // Check if all fields are initialized