fix
Showing
1 changed file
with
2 additions
and
3 deletions
| ... | @@ -36,10 +36,9 @@ Here is the canonical "Hello, world" example app for beego: | ... | @@ -36,10 +36,9 @@ Here is the canonical "Hello, world" example app for beego: |
| 36 | //beego.HttpPort = 8080 // default | 36 | //beego.HttpPort = 8080 // default |
| 37 | beego.Run() | 37 | beego.Run() |
| 38 | } | 38 | } |
| 39 | ``` | ||
| 39 | 40 | ||
| 40 | default port:8080 | 41 | http get http://localhost:8080/ |
| 41 | |||
| 42 | http get http://localhost:8080 | ||
| 43 | HTTP/1.1 200 OK | 42 | HTTP/1.1 200 OK |
| 44 | Content-Type: text/plain; charset=utf-8 | 43 | Content-Type: text/plain; charset=utf-8 |
| 45 | Date: Sat, 15 Dec 2012 16:03:00 GMT | 44 | Date: Sat, 15 Dec 2012 16:03:00 GMT | ... | ... |
-
Please register or sign in to post a comment