fix: remove unused learning handler
All checks were successful
CI / hygiene (push) Successful in 1s
Build and Deploy / build-and-deploy (push) Successful in 29s
CI / test (push) Successful in 29s

This commit is contained in:
Grendgi
2026-06-18 10:29:05 +03:00
parent 5ad2a8a33e
commit 772cb0e238

View File

@@ -200,12 +200,3 @@ func main() {
} }
slog.Info("server stopped") slog.Info("server stopped")
} }
// notImplemented — заглушка для эндпоинтов, которые есть в схеме, но
// ещё не имплементированы. Возвращает 501 + понятное сообщение, чтобы
// фронт мог отрендерить «в разработке» вместо generic 500.
func notImplemented(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusNotImplemented)
_, _ = w.Write([]byte(`{"error":"not implemented yet — следующая итерация"}`))
}