Add e164 to doc.go

pull/635/head
Taylor 4 years ago
parent ea924ce89a
commit 0bfda52ce1
  1. 2
      README.md
  2. 7
      doc.go

@ -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 |

@ -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

Loading…
Cancel
Save