Initial commit

This commit is contained in:
2022-09-13 21:42:51 +08:00
committed by Penguin Tsang
commit 7e327abbae
14 changed files with 474 additions and 0 deletions

11
handlers/index.go Normal file
View File

@@ -0,0 +1,11 @@
package handlers
import (
"fmt"
"html"
"net/http"
)
func Index(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path))
}