diff options
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |