Merge pull request #32 from miku/master

correct typo in README
This commit is contained in:
Fatih Arslan 2015-05-26 09:43:52 +03:00
commit a9f7daa9c2

View File

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