John Guo
e15b543a5b
fix(util/gvalid): retrive empty slice parameter in custom validation rule function failed ( #3795 )
2024-09-23 19:59:48 +08:00
John Guo
777c2e7117
ci: fix mssql docker service failed in ci ( #3792 )
2024-09-23 11:50:48 +08:00
swift
59a775aad4
util/gvalid: add 171
number support for virtual phone number validation ( #3622 )
2024-06-04 20:36:28 +08:00
xyqweb
94c7185826
util/gvalid: fix slice enums verification failed ( #3566 )
2024-05-07 20:36:55 +08:00
George
91f449dff8
feat: add new rule required-if-all
for package gvalid ( #3455 )
2024-04-11 19:45:09 +08:00
Anh Phuong Do
4c6b146627
feat: add Scan
method for incremental key retrieval in gredis
( #3451 )
2024-04-11 15:37:22 +08:00
wln32
f039393b2b
fix: map converting in loop logic of validation for package gvalid ( #3423 )
2024-04-01 19:23:12 +08:00
John Guo
7415ec32c8
fix issue #2503 ( #3299 )
2024-02-05 10:30:03 +08:00
John Guo
383937fe69
add example for ctx keys feature of package glog
( #3273 )
2024-01-22 21:07:40 +08:00
John Guo
ee2cf92479
Version/v2.6.0 beta ( #3183 )
2023-12-04 19:34:48 +08:00
海亮
993467bb3c
test: add date-format test for RFC3339 ( #3181 )
2023-11-29 19:12:21 +08:00
John Guo
8d925d4741
fix issue #2890 ( #3002 )
2023-10-09 20:00:08 +08:00
海亮
42de1c1dbe
improve example cases for package gi18n ( #2970 )
2023-09-19 20:18:43 +08:00
John Guo
bcd409ab1c
fix typo "Upadte" -> "Update" ( #2906 )
2023-08-28 21:48:56 +08:00
John Guo
cb44c40a9c
fix issue #2482 ( #2789 )
2023-07-25 20:28:50 +08:00
John Guo
5e231f3d61
add example for package gvalid ( #2767 )
2023-07-14 14:25:25 +08:00
John Guo
2ece368810
add new validation rule "enums" ( #2690 )
2023-06-07 09:48:29 +08:00
cui fliter
a9090e4a72
fix some comments ( #2600 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-04-26 19:34:22 +08:00
John Guo
ae86f66545
fix issue #2499 #2515 ( #2517 )
2023-03-13 22:16:57 +08:00
John Guo
117fc6eda2
fix issue #2339 ( #2433 )
2023-02-08 19:08:10 +08:00
John Guo
38c9cac578
fix issue #2011 ( #2421 )
2023-02-07 11:37:39 +08:00
王哈哈
4f4109cdb6
fix typo for comments ( #2268 )
...
* Modify comment syntax error
* Modify comment syntax error
2022-11-07 17:55:49 +08:00
John Guo
ee58255418
move common used tag from packages to package gtag for maintainability ( #2256 )
...
* move common used tag from packages to package gtag for maintainability
* move common used tag from packages to package gtag for maintainability
Co-authored-by: houseme <housemecn@gmail.com>
2022-11-07 17:51:37 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality ( #2229 )
2022-11-01 20:12:21 +08:00
John Guo
8e5a03f6c9
add Ptr*
functions for package gconv ( #2206 )
...
* add Ptr* functions for package gconv
* delete binary file
* revert changes for file gconv.go
Co-authored-by: houseme <housemecn@gmail.com>
2022-10-18 19:13:14 +08:00
John Guo
141ca62c6d
feature/v2.2.0 ( #2154 )
2022-09-26 22:11:13 +08:00
John Guo
27609d8da8
fix issue #1921 ( #2091 )
...
* CI updates
* fix issue in OpenAPI json marshaling of embedded struct definition; improve command gen service
* improve logging content printing for internal log
* fix issue #1921
2022-08-26 14:30:49 +08:00
John Guo
5d51e9fa2c
improve package gerror, add HasCode/HasError function for package gerror ( #2006 )
2022-07-15 10:49:04 +08:00
John Guo
6abbc57c96
fix issue #1864
2022-05-26 15:28:17 +08:00
houseme
ab82599ee2
Feature/polaris feat: Add Polaris support ( #1797 )
2022-05-18 22:24:40 +08:00
John Guo
ed9dc70769
add UT case for package gvalid
2022-04-12 16:09:24 +08:00
John Guo
ec92d2b7f4
improve empty slice/object validation logic for package gvalid
2022-03-25 17:53:58 +08:00
John Guo
ee16b6df88
change build-in swagger ui to public cdn
2022-03-23 14:43:48 +08:00
John Guo
5ee387672b
enhancement from issue #1689
2022-03-21 22:36:06 +08:00
John Guo
c5d80a2192
improve UT cases for package gins/gvalid
2022-03-17 21:31:07 +08:00
John Guo
97b8f0f781
improve recursilve validation feature for package gvalid
2022-03-17 20:27:59 +08:00
John Guo
bceb5fc7de
rename gdebug.TestData* -> gtest.Data*; add UT case for http server
2022-03-17 16:58:04 +08:00
John Guo
d8d9996464
fix issue #1662
2022-03-11 10:24:42 +08:00
John Guo
546b6b1724
t.Assert(err, nil) -> t.AssertNil(err)
2022-03-10 11:36:40 +08:00
John Guo
213392640c
fix issue #1653
2022-03-10 09:22:50 +08:00
John Guo
d64898c59a
improve package goai
2022-03-02 20:00:40 +08:00
John Guo
88a9eef8a6
api swagger ui update
2022-03-01 11:43:42 +08:00
John Guo
033e2c1d78
fix issue in rules of gmeta.Meta for package gvalid
2022-01-18 15:43:12 +08:00
John Guo
fe93d7b332
add GetRegisteredRuleMap function, add internal logging for rule overwrite situation of package gvalid
2022-01-14 16:46:25 +08:00
John Guo
14e96069f2
comment update for package gvalid
2021-12-26 23:17:33 +08:00
huangqian
b4e6abc460
Adjust the function sequence
2021-12-11 23:11:17 +08:00
huangqian
10fc81f716
modify gvalid sample file name
2021-12-07 13:49:08 +08:00
huangqian
ff36667dbc
move sample function to right file
2021-12-06 22:20:00 +08:00
huangqian
e11698dc2a
modify function name
2021-12-05 22:18:13 +08:00
huangqian
68a8a456c9
move function sample to new file
2021-12-05 14:56:34 +08:00