aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lobunets <alexander.lobunets@gmail.com>2014-02-07 10:09:23 +0100
committerAlex Lobunets <alexander.lobunets@gmail.com>2014-02-07 10:09:23 +0100
commit22611424746fe906dbf8ecfc402e29833b60415d (patch)
tree3176986db30df69407237442da3f216e01e4e8ac /README.md
parentAdded request headers as Get/Put/Post/Delete argument. Added response headers... (diff)
downloadsleepy-22611424746fe906dbf8ecfc402e29833b60415d.tar.gz
sleepy-22611424746fe906dbf8ecfc402e29833b60415d.tar.bz2
sleepy-22611424746fe906dbf8ecfc402e29833b60415d.zip
Updated type in the README
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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() {
bgstack15