1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 12:00:55 +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.HttpPort = 8080 // default
beego.Run() beego.Run()
} }
```
default port:8080 http get http://localhost:8080/
http get http://localhost:8080
HTTP/1.1 200 OK HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8 Content-Type: text/plain; charset=utf-8
Date: Sat, 15 Dec 2012 16:03:00 GMT Date: Sat, 15 Dec 2012 16:03:00 GMT