This repository has been archived on 2026-01-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
cover-letter-templater/backend/routes/routes.go
T
Leons Aleksandrovs 2ad7b27fd5 Finished development
Caddy
Frontend
And backend
are now running
2025-07-03 21:58:49 +03:00

20 lines
237 B
Go

package routes
import (
"net/http"
"github.com/gin-gonic/gin"
)
func SetupRoutes() *gin.Engine {
r := gin.Default()
r.GET("/ping", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"message": "pong",
})
})
return r
}