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:
parent
842b053d9c
commit
b441c154f1
7
docs.go
7
docs.go
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user