endpoint update
All checks were successful
CI Pipeline for the Go API / CD - Kubernetes Smoke Test (push) Successful in 8s
CI Pipeline for the Go API / CI - Go Vet (basic static check) (push) Successful in 11s
CI Pipeline for the Go API / CI - Docker Image Build Test (push) Successful in 18s
CI Pipeline for the Go API / CI - Go Build & Cross-Compile (push) Successful in 24s
CI Pipeline for the Go API / CD - Push Image to Gitea Registry (push) Successful in 18s
CI Pipeline for the Go API / CD - Kubernetes Deployment (push) Successful in 9s

This commit is contained in:
2025-10-05 22:50:39 +02:00
parent ba465a3f19
commit cf12a1cefc

View File

@@ -22,7 +22,7 @@ type AddResponse struct {
func healthHandler(w http.ResponseWriter, r *http.Request) { func healthHandler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json") w.Header().Set("Content-Type", "application/json")
json.NewEncoder(w).Encode(HealthResponse{Status: "oke"}) json.NewEncoder(w).Encode(HealthResponse{Status: "Yeee!"})
} }
func addHandler(w http.ResponseWriter, r *http.Request) { func addHandler(w http.ResponseWriter, r *http.Request) {