2024-12-11 17:11:53 +08:00

13 lines
164 B
Go

package funcs
import (
"html/template"
"net/http"
"github.com/gorilla/csrf"
)
func CsrfField(r *http.Request) template.HTML {
return csrf.TemplateField(r)
}