From 13b709511562c90791b907fee66602fb1d711734 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Tue, 5 Aug 2014 17:01:25 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") }