Files
Tasker_API/internal/handlers/handlers.go
2025-03-20 22:23:25 -03:00

13 lines
209 B
Go

package handlers
import (
"net/http"
"github.com/gin-gonic/gin"
)
// PingHandler responds with a JSON message "pong".
func PingHandler(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"message": "pong"})
}