dudaodong
|
b698fec50f
|
doc: add go playground demo
|
2023-09-11 15:59:35 +08:00 |
|
dudaodong
|
f198711d1c
|
doc: add doc for new functions
|
2023-09-07 16:03:08 +08:00 |
|
dudaodong
|
19378ca4d1
|
feat: add IsVisa, IsMasterCard, IsAmericanExpress, IsUnionPay, IsChinaUnionPay
|
2023-09-06 18:05:15 +08:00 |
|
dudaodong
|
71c7733eb0
|
feat: add IsBin, IsHex, IsBase64URL, IsJWT
|
2023-09-06 17:42:31 +08:00 |
|
dudaodong
|
20786c360b
|
test: add cases for TestIsIpV4 and TestIsIpV6
|
2023-09-06 16:27:14 +08:00 |
|
dudaodong
|
8229de2f10
|
test: add parallel running for all unit test functions
|
2023-06-30 10:18:45 +08:00 |
|
dudaodong
|
286a187942
|
fix: fix go report validation issue
|
2023-06-01 11:49:49 +08:00 |
|
will
|
78aa679670
|
feat: add ContainNumber for validator (#97)
Co-authored-by: sunyaoyao <sunyaoyao@kezaihui.com>
|
2023-05-19 11:23:19 +08:00 |
|
dudaodong
|
fcb3b97b45
|
doc: add docment and playground demo for v2.1.19
|
2023-04-18 15:21:03 +08:00 |
|
dudaodong
|
18f01ffd75
|
doc: update doc and example for validator
|
2023-04-06 10:46:31 +08:00 |
|
dudaodong
|
046f3e0bf9
|
feat: add IsInt, IsFloat, IsNumber
|
2023-04-05 14:07:23 +08:00 |
|
dudaodong
|
8bdd46bda4
|
doc: add play ground demo
|
2023-04-03 10:33:57 +08:00 |
|
dudaodong
|
bc25e7a037
|
feat: add IsPrintable
|
2023-03-31 12:00:32 +08:00 |
|
dudaodong
|
e56a8a1ef5
|
feat: add IsASCII
|
2023-03-30 14:41:32 +08:00 |
|
dudaodong
|
6f2f1f3004
|
fix: IsZeroValue support pointer
|
2023-02-06 19:36:36 +08:00 |
|
Cai Zhijiang
|
17e8d2bb6d
|
部分城市有4位区号+8位号码 (#69)
|
2023-02-06 09:47:21 +08:00 |
|
dudaodong
|
e21dd07d46
|
doc: update doc for validator package
|
2023-01-06 14:14:00 +08:00 |
|
dudaodong
|
4044deac70
|
test: add examples for validator package
|
2023-01-06 11:31:51 +08:00 |
|
dudaodong
|
2725575d2f
|
doc: add doc for IsGBK'
|
2022-12-09 19:28:45 +08:00 |
|
dudaodong
|
af5cfe6da1
|
feat: add IsGBK validator
|
2022-12-09 17:36:59 +08:00 |
|
dudaodong
|
dd613e98b2
|
refator: clean code
|
2022-12-06 20:00:41 +08:00 |
|
dudaodong
|
ef28b52963
|
fix: fix regex isChineseMobileRegexMatcher not work
|
2022-08-28 20:58:34 +08:00 |
|
dudaodong
|
fc10689b25
|
feat: add IsZeroValue function
|
2022-08-27 18:57:45 +08:00 |
|
dudaodong
|
50c6e51393
|
upgrade go module v2
|
2022-03-17 10:57:35 +08:00 |
|
dudaodong
|
5e318a78d2
|
refactor: remove unused code
|
2022-02-15 11:19:07 +08:00 |
|
dudaodong
|
aa64bf5bee
|
feat: add IsUrl func
|
2022-01-22 18:11:52 +08:00 |
|
dudaodong
|
261370e30d
|
fix: os.go/ExecCommand make error the last return value
|
2022-01-17 16:57:38 +08:00 |
|
dudaodong
|
22b3c4dd42
|
feat: add validator functions, IsAllUpper, IsAllLower, ContainUpper, ContainLower, ContainLetter, IsJSON and IsPort
|
2022-01-13 20:19:41 +08:00 |
|
dudaodong
|
d3525dfe8f
|
refactor: rewrite all unit test functions with assert
|
2022-01-09 15:34:17 +08:00 |
|
dudaodong
|
c625a88067
|
refactor: rename package 'utils' to 'internal'
|
2021-12-31 11:36:11 +08:00 |
|
donutloop
|
9ad9d1805b
|
Regex validators: Precompile all known regex patterns (#3)
Reduce executions time of pattern matching, regex patterns are expensive to
compile at runtime.
|
2021-12-26 21:16:20 +08:00 |
|
dudaodong
|
fee6cb17f3
|
update: update validator test function
|
2021-11-29 15:53:48 +08:00 |
|
dudaodong
|
0c4b512084
|
fmt: fix some gofmt issue
|
2021-11-29 13:01:46 +08:00 |
|
dudaodong
|
3254591ab9
|
publish lancet
|
2021-11-28 21:28:23 +08:00 |
|