From 5195e6e0a9b8756a7094a890fcf772588a7af204 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Tue, 28 Oct 2014 20:17:23 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 42e75dd..a8078f8 100644 --- a/README.md +++ b/README.md @@ -45,16 +45,16 @@ v := structs.Values(server) // Convert the values of a struct to a []*Field // (see "Field methods" for more info about fields) -f := structs.Fields(server) // Get a []*Field +f := structs.Fields(server) // Return the struct name => "Server" -n := structs.Name(server) // Get the struct name +n := structs.Name(server) // Check if any field of a struct is initialized or not. -h := structs.HasZero(server) // Check if any field is initialized +h := structs.HasZero(server) // Check if all fields of a struct is initialized or not. -z := structs.IsZero(server) // Check if all fields are initialized +z := structs.IsZero(server) // Check if server is a struct or a pointer to struct i := structs.IsStruct(server)