diff --git a/README.md b/README.md index 413e0348..87d63432 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,9 @@ Here is the canonical "Hello, world" example app for beego: //beego.HttpPort = 8080 // default beego.Run() } +``` -default port:8080 - - http get http://localhost:8080 + http get http://localhost:8080/ HTTP/1.1 200 OK Content-Type: text/plain; charset=utf-8 Date: Sat, 15 Dec 2012 16:03:00 GMT @@ -408,4 +407,4 @@ after set the log levels, in the logs function which below the setlevels willn't after set levels to beego.LevelError -Trace, Debug, Info, Warn will not output anything. So you can change it when in dev and prod mode. +Trace, Debug, Info, Warn will not output anything. So you can change it when in dev and prod mode. \ No newline at end of file