From d86e8a739e59611276724c75765de02ef9b44b66 Mon Sep 17 00:00:00 2001 From: Nicolas Lepage <19571875+nlepage@users.noreply.github.com> Date: Wed, 27 Nov 2019 08:05:32 +0100 Subject: [PATCH] :memo: --- example_json_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example_json_test.go b/example_json_test.go index 40bae56..7df6f39 100644 --- a/example_json_test.go +++ b/example_json_test.go @@ -8,8 +8,8 @@ import ( wasmhttp "github.com/nlepage/go-wasm-http-server" ) -// Example_JSON demostrates a simple hello JSON service. -func Example_JSON() { +// Example_json demostrates a simple hello JSON service. +func Example_json() { http.HandleFunc("/hello", func(res http.ResponseWriter, req *http.Request) { params := make(map[string]string) if err := json.NewDecoder(req.Body).Decode(¶ms); err != nil {