feat(API): add API
This commit is contained in:
parent
220611a563
commit
29472384da
7 changed files with 340 additions and 9 deletions
controllers
7
controllers/utils.go
Normal file
7
controllers/utils.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package controllers
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
func checkCookie(c *fiber.Ctx) string {
|
||||
return c.Cookies("token", "")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue