From 2b2a140b732989bb98d87675d104c94af94ebc3a Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 13 Sep 2018 15:29:07 -0600 Subject: [PATCH] Minor clarification in the README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44e0100..a75eabf 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,8 @@ n := s.Names() // Get a []string f := s.Field(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 +h := s.HasZero() // Check if any field is uninitialized +z := s.IsZero() // Check if all fields are uninitialized ``` ### Field methods