finger/internal/server/healthcheck.go
Gustavo Maronato f96dda4af2
Some checks failed
Go / checks (push) Failing after 52s
refactor and add tests
2023-09-20 01:26:38 -03:00

14 lines
259 B
Go

package server
import (
"net/http"
"git.maronato.dev/maronato/finger/internal/config"
)
func HealthCheckHandler(_ *config.Config) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
})
}