File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ Baked-in Validations
146146| btc_addr | Bitcoin Address |
147147| btc_addr_bech32 | Bitcoin Bech32 Address (segwit) |
148148| datetime | Datetime |
149+ | e164 | e164 formatted phone number |
149150| email | E-mail String
150151| eth_addr | Ethereum Address |
151152| hexadecimal | Hexadecimal String |
@@ -186,7 +187,7 @@ Baked-in Validations
186187| Tag | Description |
187188| - | - |
188189| dir | Directory |
189- | e164 | NOT DOCUMENTED IN doc.go |
190+ | endswith | Ends With |
190191| excludes | Excludes |
191192| excludesall | Excludes All |
192193| excludesrune | Excludes Rune |
Original file line number Diff line number Diff line change @@ -790,6 +790,13 @@ This validates that a string value contains a valid hsla color
790790
791791 Usage: hsla
792792
793+ E.164 Phone Number String
794+
795+ This validates that a string value contains a valid E.164 Phone number
796+ https://en.wikipedia.org/wiki/E.164 (ex. +1123456789)
797+
798+ Usage: e164
799+
793800E-mail String
794801
795802This validates that a string value contains a valid email
You can’t perform that action at this time.
0 commit comments