aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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