Skip to content

Commit 0ff6a2c

Browse files
1046102779elithrar
authored andcommitted
[docs] Improve commented code (#46)
1 parent a8abe8a commit 0ff6a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csrf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ type options struct {
110110
// func GetSignupForm(w http.ResponseWriter, r *http.Request) {
111111
// // signup_form.tmpl just needs a {{ .csrfField }} template tag for
112112
// // csrf.TemplateField to inject the CSRF token into. Easy!
113-
// t.ExecuteTemplate(w, "signup_form.tmpl", map[string]interface{
113+
// t.ExecuteTemplate(w, "signup_form.tmpl", map[string]interface{}{
114114
// csrf.TemplateTag: csrf.TemplateField(r),
115115
// })
116116
// // We could also retrieve the token directly from csrf.Token(r) and

0 commit comments

Comments
 (0)