16 lines
277 B
Go
16 lines
277 B
Go
|
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
|
||
|
}
|