diff --git a/README.md b/README.md index f61d1b9..c379f29 100644 --- a/README.md +++ b/README.md @@ -51,12 +51,12 @@ n := structure.Name(s) // => true h := structure.Has(s, "Enabled") -// Check if a field of a struct is initialized or not. +// Check if any field of a struct is initialized or not. if structure.HasZero(s) { fmt.Println("s has a zero value field") } -// Check if all field of a struct is initialized or not. +// Check if all fields of a struct is initialized or not. if structure.IsZero(s) { fmt.Println("all fields of s is zero value") }