13 lines
199 B
Go
13 lines
199 B
Go
package routes
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func RegisterPingRoutes(api *gin.RouterGroup) {
|
|
api.GET("/ping", func(c *gin.Context) {
|
|
c.String(http.StatusOK, "Pong!")
|
|
})
|
|
}
|