1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 17:40:48 +00:00
This commit is contained in:
xiemengjun 2012-12-20 10:14:50 +08:00
parent 9c618145a2
commit 6c89320183

View File

@ -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.