Removed duplicate punctuation.

pull/232/head
Aaron Greenlee 9 years ago
parent 71d9b9e91c
commit 0b51ee1e8e
  1. 2
      doc.go

@ -150,7 +150,7 @@ use the UTF-8 hex representation 0x7C, which is replaced in the code as a pipe,
so the above will become excludesall=0x7C so the above will become excludesall=0x7C
type Test struct { type Test struct {
Field `validate:"excludesall=|"` // BAD! Do not include a a pipe!. Field `validate:"excludesall=|"` // BAD! Do not include a a pipe!
Field `validate:"excludesall=0x7C"` // GOOD! Use the UTF-8 hex representation. Field `validate:"excludesall=0x7C"` // GOOD! Use the UTF-8 hex representation.
} }

Loading…
Cancel
Save