Skip to content

Commit 2b2a140

Browse files
authored
Minor clarification in the README
1 parent ebf56d3 commit 2b2a140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ n := s.Names() // Get a []string
8181
f := s.Field(name) // Get a *Field based on the given field name
8282
f, ok := s.FieldOk(name) // Get a *Field based on the given field name
8383
n := s.Name() // Get the struct name
84-
h := s.HasZero() // Check if any field is initialized
85-
z := s.IsZero() // Check if all fields are initialized
84+
h := s.HasZero() // Check if any field is uninitialized
85+
z := s.IsZero() // Check if all fields are uninitialized
8686
```
8787

8888
### Field methods

0 commit comments

Comments
 (0)