Update README.md

edit comment
This commit is contained in:
Ildar1111 2019-10-24 21:44:33 +03:00 committed by GitHub
parent b7b708f1d0
commit be05dc5c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,12 +145,12 @@ func main() {
"message": "pong", "message": "pong",
}) })
}) })
r.Run() // listen and serve on 0.0.0.0:8080 (address 0.0.0.0:8080 does not work on windows) r.Run() // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
} }
``` ```
``` ```
# run example.go and visit 0.0.0.0:8080/ping on browser # run example.go and visit 0.0.0.0:8080/ping (for windows "localhost:8080/ping") on browser
$ go run example.go $ go run example.go
``` ```