diff --git a/json_helpers.go b/json_helpers.go deleted file mode 100644 index b983a161f25d7c885f4cfec7c195727c934c77b7..0000000000000000000000000000000000000000 --- a/json_helpers.go +++ /dev/null @@ -1,15 +0,0 @@ -package main - -import ( - "io/ioutil" - "log" - "net/http" -) - -func readJsonFromRequest(r *http.Request) []byte { - data, err := ioutil.ReadAll(r.Body) - if err != nil { - log.Println("could not read json from body") - } - return data -}