make the output of gin example right (#1598)

pull/1611/head
hoolio 3 years ago committed by GitHub
parent cf385f6285
commit 9d2719f9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      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
```
```

Loading…
Cancel
Save