From 16e63b69c7ab53a10d1df5ac05de6e10f6ce395e Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Mon, 25 May 2015 23:23:46 +0200 Subject: [PATCH] correct typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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