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
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:
2
main.go
2
main.go
@@ -22,7 +22,7 @@ type AddResponse struct {
|
||||
|
||||
func healthHandler(w http.ResponseWriter, r *http.Request) {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user