1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-14 03:00:39 +00:00
This commit is contained in:
xiemengjun
2012-03-26 23:18:16 +08:00
parent 3e8871370a
commit 446daaea37
7 changed files with 313 additions and 3 deletions

View File

@ -0,0 +1,14 @@
package helloworld
import (
"fmt"
"net/http"
)
func init() {
http.HandleFunc("/", handle)
}
func handle(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, "<html><body>Hello, World! 세상아 안녕!</body></html>")
}