1
0
mirror of https://github.com/H0llyW00dzZ/fiber2fa.git synced 2025-02-06 10:24:03 +00:00

Fix Docs [pkg.go.dev] Documentation (#89)

- [+] docs(docs.go): add missing closing parenthesis to fiber middleware example
This commit is contained in:
H0llyW00dzZ 2024-05-30 18:17:14 +07:00 committed by GitHub
parent 842b053d9c
commit b441c154f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,9 +36,10 @@
// // Use the fiber.Locals middleware to set c.Locals
// app.Use(func(c *fiber.Ctx) error {
//
// // Note: c.Locals is pretty useful and can directly store values from a database.
// c.Locals("email", "user@example.com")
// return c.Next()
// // Note: c.Locals is pretty useful and can directly store values from a database.
// c.Locals("email", "user@example.com")
// return c.Next()
// })
//
// app.Use(twofa.New(twofa.Config{
// Issuer: "MyApp",