2024-12-11 17:37:58 +08:00

13 lines
163 B
Go

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