This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 🚀 Fiber is an Express inspired web framework written in Go with 💖 | |
// 📌 API Documentation: https://fiber.wiki | |
// 📝 Github Repository: https://github.com/gofiber/fiber | |
// 🙏 Credits to github.com/labstack/echo/blob/master/middleware/csrf.go | |
package csrf | |
import ( | |
"crypto/subtle" | |
"errors" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package foo | |
type Foo struct { | |
} | |
type DB interface { | |
Find(string) (Foo, error) | |
} |