From 3788c8c9fd5a8af05c00cca1d44be817c4516b60 Mon Sep 17 00:00:00 2001 From: bel Date: Tue, 25 Oct 2022 22:50:11 -0600 Subject: [PATCH] vanilla --- vanilla.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 vanilla.go diff --git a/vanilla.go b/vanilla.go new file mode 100644 index 0000000..34f8f06 --- /dev/null +++ b/vanilla.go @@ -0,0 +1,12 @@ +package main + +import ( + "fmt" + "net/http" +) + +func main() { + http.ListenAndServe(":9090", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + fmt.Fprintf("%s %s\n", r.Method, r.URL) + })) +}