From a90069d142741635b2419084f3cc9d7beccd8bb7 Mon Sep 17 00:00:00 2001 From: Jeevanandam M Date: Mon, 25 Jan 2016 11:05:34 -0800 Subject: [PATCH] readme update --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 73fd023..5282e4d 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ fmt.Printf("\nDestination: %#v\n", product) ``` #### Map Method -I want to convert my struct into Map (`map[string]interface{}`). Not to worry, go-model does deep convert. +I want to convert my struct into Map (`map[string]interface{}`). Sure, go-model does deep convert. ```go // tag your SearchResult fields with appropriate options like // -, name, omitempty, notraverse to get desired result. @@ -81,7 +81,7 @@ fmt.Printf("\nSearch Result Map: %#v\n", srchResMap) ``` #### Clone Method -I would like to clone my struct object. Not to worry, go-model does deep processing. +I would like to clone my struct object. That's nice, you know go-model does deep processing. ```go input := Product { /* Product struct field values go here */ } @@ -94,7 +94,7 @@ fmt.Printf("\nCloned Object: %#v\n", clonedObj) ``` #### IsZero Method -I want to check my struct object is empty or not. Not to worry, go-model does deep zero check. +I want to check my struct object is empty or not. Of course, go-model does deep zero check. ```go // let's say you have just decoded/unmarshalled your request body to struct object. productInfo, _ := myapp.ParseJSON(request.Body)