The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
type CSRF interface {
// Generate returns a CSRF token suitable for inclusion in a form Generate(http.ResponseWriter, *http.Request) (string, error)
// Check returns true if the given token is valid for the given request Check(*http.Request, string) (bool, error)
}
CSRF handles generating a csrf value, and checking the submitted value
NewCookieCSRF stores random CSRF tokens in a cookie created with the given options.
Empty CSRF tokens or tokens that do not match the value of the cookie on the request
are rejected.
NewSessionCSRF stores CSRF tokens in a session with the given name.
Empty CSRF tokens or tokens that do not match the value in the session are rejected.