nova-rebolaxe/vistas/health.go

13 lines
209 B
Go
Raw Permalink Normal View History

2023-12-04 16:59:57 +01:00
package vistas
import (
"net/http"
"github.com/gin-gonic/gin"
)
func Health(c *gin.Context) {
resultado := "OK!"
c.Data(http.StatusOK, "text/html; charset=utf-8", []byte(resultado))
}