diff --git a/README.md b/README.md index f552826..3990cfe 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,7 @@ Baked-in Validations | btc_addr | Bitcoin Address | | btc_addr_bech32 | Bitcoin Bech32 Address (segwit) | | datetime | Datetime | +| e164 | e164 formatted phone number | | email | E-mail String | eth_addr | Ethereum Address | | hexadecimal | Hexadecimal String | @@ -185,7 +186,6 @@ Baked-in Validations | Tag | Description | | - | - | | dir | Directory | -| e164 | NOT DOCUMENTED IN doc.go | | endswith | Ends With | | excludes | Excludes | | excludesall | Excludes All | diff --git a/doc.go b/doc.go index 4aba75f..96c5e0b 100644 --- a/doc.go +++ b/doc.go @@ -684,6 +684,13 @@ This validates that a string value contains a valid hsla color Usage: hsla +E.164 Phone Number String + +This validates that a string value contains a valid E.164 Phone number +for example +1123456789 + + Usage: e164 + E-mail String This validates that a string value contains a valid email