whoops
parent
3788c8c9fd
commit
da4937c48a
|
|
@ -7,6 +7,6 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
http.ListenAndServe(":9090", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
http.ListenAndServe(":9090", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
fmt.Fprintf("%s %s\n", r.Method, r.URL)
|
fmt.Fprintf(w, "%s %s\n", r.Method, r.URL)
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue