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
huangqian
acb2bc7d99
Merge branch 'master' of https://github.com/gogf/gf into gvalid_Example
2021-12-04 14:35:45 +08:00
huangqian
7b9a03d13c
Implemented Validator Example
...
1.RuleFunc 2.RuleFuncMap
2021-12-04 14:35:33 +08:00
John Guo
0da5535bda
improve package gvalid
2021-12-04 00:11:57 +08:00
John Guo
3f030b1f6e
improve error message for invalid rule for package gvalid
2021-12-03 23:56:00 +08:00
huangqian
9659f45fbb
Implemented Validator Example
...
1.Ci 2.Data 3.Assoc 4.Rules 5.Messages
2021-12-01 23:16:16 +08:00
huangqian
6b5f111b6a
Implemented gvalid Example
...
1.New 2.Run 3.Clone 4.I18n
2021-11-30 23:48:26 +08:00
John Guo
7b22355abb
expose package internal/structs as os/gstructs; add package gtag for custom tag storage feature
2021-11-24 16:17:50 +08:00
huangqian
d7da2b5657
Merge branch 'master' of https://github.com/gogf/gf
2021-11-23 20:22:00 +08:00
John Guo
9748b9f70b
improve association feature for package gvalid
2021-11-23 10:42:43 +08:00