Files
logistics/main.go
2025-10-27 22:31:36 +02:00

16 lines
259 B
Go

package main
import (
"fmt"
"html"
"log"
"net/http"
)
func main() {
http.HandleFunc("/foo", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path))
})
log.Fatal(http.ListenAndServe(":8080", nil))
}