Skip to content

Commit 3b4ccac

Browse files
committed
docs: fix spelling
1 parent 4762e16 commit 3b4ccac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/EXAMPLES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func postFormHandler(w http.ResponseWriter, r *http.Request) {
100100
Name: r.PostForm.Get("name"),
101101
}
102102

103-
form.Check(validator.NotBlank(tokenPlaintext), "name", "This field cannot be blank")
103+
form.Check(validator.NotBlank(form.Name), "name", "This field cannot be blank")
104104

105105
if !form.Valid() {
106106
http.Error(w, "Validation failed!", http.StatusUnprocessableEntity)

0 commit comments

Comments
 (0)