func (h *CSRFHandler) RegenerateToken(w http.ResponseWriter, r *http.Request) string {
	token := generateToken()
	h.setTokenCookie(w, r, token)
	return Token(r)
}
// RegenerateToken as the name suggests

RegenerateToken as the name suggests
// RegenerateToken as the name suggests
func (h *CSRFHandler) RegenerateToken(w http.ResponseWriter, r *http.Request) string {
	token := generateToken()
	h.setTokenCookie(w, r, token)
	return Token(r)
}
func ( h * CSRFHandler ) RegenerateToken ( w http . ResponseWriter , r * http . Request ) string { token := generateToken ( ) h . setTokenCookie ( w , r , token ) return Token ( r ) }
RegenerateToken as the name suggests
RegenerateToken as the name suggests