- 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>
12 lines
158 B
Go
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",
|
|
})
|
|
}
|