indiescrobble/controllers/health.go

14 lines
196 B
Go
Raw Normal View History

package controllers
import (
"net/http"
"github.com/gin-gonic/gin"
)
type HealthController struct{}
func (h HealthController) Status(c *gin.Context) {
c.String(http.StatusOK, "Working!")
}