From 95a7c76031ee83f1d566d0ebaea89fa08d6d91ad Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Wed, 4 Feb 2026 14:23:57 +0200 Subject: [PATCH] docs: fix typos --- README.md | 4 ++-- benchmarks_test.go | 2 +- doc.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c6012b58..9478b23c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ It has the following **unique** features: A Call for Maintainers ---------------------- -Please read the discussiong started [here](https://github.com/go-playground/validator/discussions/1330) if you are interested in contributing/helping maintain this package. +Please read the discussion started [here](https://github.com/go-playground/validator/discussions/1330) if you are interested in contributing/helping maintain this package. Installation ------------ @@ -178,7 +178,7 @@ validate := validator.New(validator.WithRequiredStructEnabled()) | spicedb | SpiceDb ObjectID/Permission/Type | | datetime | Datetime | | e164 | e164 formatted phone number | -| ein | U.S. Employeer Identification Number | +| ein | U.S. Employer Identification Number | | email | E-mail String | eth_addr | Ethereum Address | | hexadecimal | Hexadecimal String | diff --git a/benchmarks_test.go b/benchmarks_test.go index 14de8e69..f4777dc4 100644 --- a/benchmarks_test.go +++ b/benchmarks_test.go @@ -1103,7 +1103,7 @@ type T struct{} func (*T) Validate() error { return errors.New("ops") } -func BenchmarkValidateFnSequencial(b *testing.B) { +func BenchmarkValidateFnSequential(b *testing.B) { validate := New() type Test struct { diff --git a/doc.go b/doc.go index 7b9e77c6..58c030c7 100644 --- a/doc.go +++ b/doc.go @@ -1170,7 +1170,7 @@ This validates that a string value contains a valid longitude. Usage: longitude -# Employeer Identification Number EIN +# Employer Identification Number EIN This validates that a string value contains a valid U.S. Employer Identification Number.