package routes import ( "fmt" "net/http" ) func SimpleHealth() []Route { return []Route{ { Pattern: "GET /health", Handler: http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json") fmt.Fprintf(w, `{"status":"ok"}`) }), }, } }