From 9d2719f9f493b84372719c73e1a7f8a83fbab557 Mon Sep 17 00:00:00 2001 From: hoolio Date: Thu, 4 Nov 2021 22:07:01 +0800 Subject: [PATCH] make the output of gin example right (#1598) --- examples/http/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/http/README.md b/examples/http/README.md index 1c2df5536..120b8c865 100644 --- a/examples/http/README.md +++ b/examples/http/README.md @@ -7,8 +7,8 @@ $ go run gin/main.go ``` 2、From a different terminal, access the api to see the output: ```shell -$ curl http://127.0.0.1:8000/home -Hello Gin! +$ curl http://127.0.0.1:8000/helloworld/gin +{"welcome":"gin"} ``` ## mux @@ -30,4 +30,4 @@ $ go run static/main.go 2、Access the following url with your browser: ``` http://127.0.0.1:8000/assets -``` \ No newline at end of file +```