This commit is contained in:
oneao committed 2025-08-10 21:26:13 +08:00
1 parent dedefb78a7
commit 7c8e2906bc
19 files changed
+252

No files matched your search

@@ -0,0 +1,11 @@
package middleware
import (
"fmt"
"net/http"
)
// LoggingMiddleware logs incoming requests
func LoggingMiddleware(w http.ResponseWriter, r *http.Request) {
fmt.Printf("Request received: %s %s\n", r.Method, r.URL.Path)
}