Skip to content

Instantly share code, notes, and snippets.

@egonelbre
egonelbre / foo.go
Last active August 29, 2015 14:10 — forked from rgarcia/foo.go
package foo
type Foo struct {
}
type DB interface {
Find(string) (Foo, error)
}
// 🚀 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"