Upgraded to the latest go-web-kit.
This commit is contained in:
parent
051474bdc9
commit
41f31a621f
14 changed files with 124 additions and 142 deletions
|
|
@ -3,8 +3,11 @@ package common
|
|||
import (
|
||||
"strings"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/gofiber/fiber/v2/middleware/session"
|
||||
)
|
||||
|
||||
var STORE *session.Store
|
||||
|
||||
func Page(path string) (func(c *fiber.Ctx) error) {
|
||||
page_id := strings.ReplaceAll(path, "/", "-") + "-page"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue