FloorVisualizer/internal/handler/health_handler.go
dindang cb7e595c27 Fix lint warnings and code cleanup
- Remove duplicate calc structs, use model.CalcXxx
- Replace log.Printf with logger in recommend handler
- Remove dead code (unused var, dummy imports)
- Clean up response helpers
- Add api/ package with route registration

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-16 10:29:11 +08:00

12 lines
158 B
Go

package handler
import (
"net/http"
)
func Healthz(w http.ResponseWriter, r *http.Request) {
writeJSON(w, 200, map[string]string{
"status": "ok",
})
}