mirror of
https://github.com/astaxie/beego.git
synced 2025-06-14 03:00:39 +00:00
modify
This commit is contained in:
@ -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>")
|
||||
}
|
||||
|
Reference in New Issue
Block a user