From 22611424746fe906dbf8ecfc402e29833b60415d Mon Sep 17 00:00:00 2001 From: Alex Lobunets Date: Fri, 7 Feb 2014 10:09:23 +0100 Subject: Updated type in the README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3cd587..4c5ceb7 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ type Item struct { } func (item Item) Get(values url.Values, headers map[string][]string) (int, interface{}, map[string][]string) { items := []string{"item1", "item2"} data := map[string][]string{"items": items} - return 200, data, map[string][]string{"Content-type": "application/json"} + return 200, data, map[string][]string{"Content-type": {"application/json"}} } func main() { -- cgit