delete and modify

This commit is contained in:
2025-10-06 04:48:45 +05:00
parent bca9161416
commit 24b0e59e35
2 changed files with 2 additions and 9 deletions
@@ -8,6 +8,7 @@ import (
"serv_golang_rest_api/internal/middleware"
"serv_golang_rest_api/internal/repository"
"serv_golang_rest_api/internal/service"
"time"
"github.com/go-chi/chi/v5"
"gorm.io/gorm"
@@ -102,7 +103,7 @@ func (s *Server) healthCheck(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
json.NewEncoder(w).Encode(map[string]string{
"status": "healthy",
"timestamp": http.TimeFormat,
"timestamp": time.Now().UTC().Format(time.RFC1123),
})
}