Merge pull request #635 from taybart/master

Add e164 to doc.go
pull/671/head
Dean Karn 4 years ago committed by GitHub
commit 8941cbd00e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      README.md
  2. 7
      doc.go

@ -146,6 +146,7 @@ Baked-in Validations
| btc_addr | Bitcoin Address | | btc_addr | Bitcoin Address |
| btc_addr_bech32 | Bitcoin Bech32 Address (segwit) | | btc_addr_bech32 | Bitcoin Bech32 Address (segwit) |
| datetime | Datetime | | datetime | Datetime |
| e164 | e164 formatted phone number |
| email | E-mail String | email | E-mail String
| eth_addr | Ethereum Address | | eth_addr | Ethereum Address |
| hexadecimal | Hexadecimal String | | hexadecimal | Hexadecimal String |
@ -186,7 +187,7 @@ Baked-in Validations
| Tag | Description | | Tag | Description |
| - | - | | - | - |
| dir | Directory | | dir | Directory |
| e164 | NOT DOCUMENTED IN doc.go | | endswith | Ends With |
| excludes | Excludes | | excludes | Excludes |
| excludesall | Excludes All | | excludesall | Excludes All |
| excludesrune | Excludes Rune | | excludesrune | Excludes Rune |

@ -790,6 +790,13 @@ This validates that a string value contains a valid hsla color
Usage: hsla Usage: hsla
E.164 Phone Number String
This validates that a string value contains a valid E.164 Phone number
https://en.wikipedia.org/wiki/E.164 (ex. +1123456789)
Usage: e164
E-mail String E-mail String
This validates that a string value contains a valid email This validates that a string value contains a valid email

Loading…
Cancel
Save