feat: improved logging with zerolog

This commit is contained in:
Nicolas Meienberger
2025-08-10 00:08:00 +02:00
parent d0bf890386
commit 18654426fa
14 changed files with 148 additions and 58 deletions

View File

@@ -2,12 +2,9 @@ package driver
import (
"encoding/json"
"log"
"net/http"
)
func Unmount(w http.ResponseWriter, r *http.Request) {
log.Printf("Received unmount request: %s", r.URL.Path)
_ = json.NewEncoder(w).Encode(map[string]string{"Err": ""})
}