goipam/web/ui/routes.go

16 lines
277 B
Go
Raw Normal View History

2024-02-22 10:18:59 +01:00
package ui
import (
"github.com/gin-gonic/gin"
)
func GroupWeb(router *gin.Engine) *gin.Engine {
router.GET("/index.html", index)
router.GET("/", index)
router.POST("/", index)
router.GET("/login.html", getLogin)
router.POST("/login.html", postLogin)
return router
}