Skip to content

Commit c254ece

Browse files
authored
docs: fix typos (#1527)
## Fixes Or Enhances Fixes a few grammar mistakes in README, docs, and the benchmark name. See https://en.wikipedia.org/wiki/Employer_Identification_Number **Make sure that you've checked the boxes below before you submit PR:** - [x] Tests exist or have been written that cover this particular change. @go-playground/validator-maintainers
1 parent 4325386 commit c254ece

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ It has the following **unique** features:
2424
A Call for Maintainers
2525
----------------------
2626

27-
Please read the discussiong started [here](https://github.com/go-playground/validator/discussions/1330) if you are interested in contributing/helping maintain this package.
27+
Please read the discussion started [here](https://github.com/go-playground/validator/discussions/1330) if you are interested in contributing/helping maintain this package.
2828

2929
Installation
3030
------------
@@ -178,7 +178,7 @@ validate := validator.New(validator.WithRequiredStructEnabled())
178178
| spicedb | SpiceDb ObjectID/Permission/Type |
179179
| datetime | Datetime |
180180
| e164 | e164 formatted phone number |
181-
| ein | U.S. Employeer Identification Number |
181+
| ein | U.S. Employer Identification Number |
182182
| email | E-mail String
183183
| eth_addr | Ethereum Address |
184184
| hexadecimal | Hexadecimal String |

benchmarks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ type T struct{}
11031103

11041104
func (*T) Validate() error { return errors.New("ops") }
11051105

1106-
func BenchmarkValidateFnSequencial(b *testing.B) {
1106+
func BenchmarkValidateFnSequential(b *testing.B) {
11071107
validate := New()
11081108

11091109
type Test struct {

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ This validates that a string value contains a valid longitude.
11761176
11771177
Usage: longitude
11781178
1179-
# Employeer Identification Number EIN
1179+
# Employer Identification Number EIN
11801180
11811181
This validates that a string value contains a valid U.S. Employer Identification Number.
11821182

0 commit comments

Comments
 (0)