Skip to content

Commit 230db62

Browse files
author
Dean Karn
authored
update docs to clarify or vs tag separators (#334)
1 parent b1f51f3 commit 230db62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package validator
22
================
33
<img align="right" src="https://raw.githubusercontent.com/go-playground/validator/v9/logo.png">[![Join the chat at https://gitter.im/go-playground/validator](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/go-playground/validator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4-
![Project status](https://img.shields.io/badge/version-9.9.1-green.svg)
4+
![Project status](https://img.shields.io/badge/version-9.9.2-green.svg)
55
[![Build Status](https://semaphoreci.com/api/v1/joeybloggs/validator/branches/v9/badge.svg)](https://semaphoreci.com/joeybloggs/validator)
66
[![Coverage Status](https://coveralls.io/repos/go-playground/validator/badge.svg?branch=v9&service=github)](https://coveralls.io/github/go-playground/validator?branch=v9)
77
[![Go Report Card](https://goreportcard.com/badge/github.com/go-playground/validator)](https://goreportcard.com/report/github.com/go-playground/validator)

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ so the above will become excludesall=0x2C.
132132
Field `validate:"excludesall=0x2C"` // GOOD! Use the UTF-8 hex representation.
133133
}
134134
135-
Pipe ("|") is the default separator of validation tags. If you wish to
135+
Pipe ("|") is the 'or' validation tags deparator. If you wish to
136136
have a pipe included within the parameter i.e. excludesall=| you will need to
137137
use the UTF-8 hex representation 0x7C, which is replaced in the code as a pipe,
138138
so the above will become excludesall=0x7C

0 commit comments

Comments
 (0)