From 4f9899b12b3191efa399729d159d516cef1060b6 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Sat, 26 Jul 2014 17:43:29 +0300 Subject: [PATCH] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 8b080d3..8be54fb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # Structure [![GoDoc](https://godoc.org/github.com/fatih/structure?status.png)](http://godoc.org/github.com/fatih/structure) [![Build Status](https://travis-ci.org/fatih/structure.png)](https://travis-ci.org/fatih/structure) -========= Structure contains various utilitis to work with Go structs. @@ -24,13 +23,12 @@ s := &Server{ Enabled: true, } -m, err := ToMap(s) +m, err := structure.ToMap(s) if err != nil { panic(err) } fmt.Printf("%#v", m) // Output: map[string]interface {}{"Name":"Arslan", "ID":123456, "Enabled":true} - ```