xiaobin.zhao
87cb1c9b8e
add security tag support for openapi ( #2377 )
...
* support openapi path security
* add security path test case
* go format
* fix test case
* add doc for security
2022-12-29 20:56:20 +08:00
John Guo
3b245837b9
fix issue in cycle dumping for g.Dump ( #2367 )
...
* fix issue in cycle dumping for g.Dump
* up
* up
* up
Co-authored-by: houseme <housemecn@gmail.com>
2022-12-22 14:43:02 +08:00
John Guo
00c544ee99
fix issue when only one file was uploaded in batch receiver attribute ( #2365 )
...
* fix fixed An error occurred when only one file was uploaded in batches and add unit testing(#2092 )
* fix issue uploading files for ghttp.Server
Co-authored-by: yxh <yxh1103@qq.com>
2022-12-21 10:38:19 +08:00
John Guo
9402cc8c6a
fix /*
router supported for handler of package ghttp; fix json tag name issue when it contains ,
for package goai; add proxy example for http server ( #2294 )
...
* fix router supported for handler of package ghttp; fix json tag name issue when it contains for package goai
* add proxy example for http server
2022-11-14 19:57:39 +08:00
黄骞
b61baa1efc
add ut cases for package gconv part2 ( #2282 )
2022-11-10 19:58:03 +08:00
王哈哈
4f4109cdb6
fix typo for comments ( #2268 )
...
* Modify comment syntax error
* Modify comment syntax error
2022-11-07 17:55:49 +08:00
黄骞
9f12673631
add ut cases for package gconv ( #2272 )
...
* improve gconv.go code coverage
* improve gconv_convert.go code coverage
* improve gconv_float.go code coverage
* improve gconv_map.go code coverage
* improve gconv_maps.go code coverage
* improve gconv_maptomap.go code coverage
* improve gconv_maptomaps.go code coverage
2022-11-07 17:53:51 +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
zhonghuaxunGM
ce8b536fca
Parse database empty json field to empty object( fix issue 2105 ) ( #2213 )
...
* Parse database empty json field to empty object( fix issue 2105 )
* fix issue #2105
Co-authored-by: Xu <zhenghao.xu>
Co-authored-by: John Guo <john@johng.cn>
2022-10-18 19:13:55 +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
5efa5ebd2f
fix issue #1946 ( #2194 )
...
* fix issue #1946
* fix issue #1946
2022-10-12 20:31:03 +08:00
John Guo
182a393050
package comments and readme update ( #2182 )
2022-10-09 21:23:55 +08:00
John Guo
141ca62c6d
feature/v2.2.0 ( #2154 )
2022-09-26 22:11:13 +08:00
daguang
a0619f7ff0
remove uint repeat conversion ( #2096 )
...
Co-authored-by: houseme <housemecn@gmail.com>
2022-08-26 15:45:41 +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
daguang
299573dd19
fixed inconsistent results when converting float64(NaN) to int/uint on multiple platforms ( #2064 )
2022-08-15 21:51:34 +08:00
John Guo
f580b7a488
improve header printing in json format for package glog; add golang v1.18 support for ci workflow ( #2037 )
2022-07-29 19:06:22 +08:00
John Guo
5d51e9fa2c
improve package gerror, add HasCode/HasError function for package gerror ( #2006 )
2022-07-15 10:49:04 +08:00
黄骞
4c1cf73005
Improve the code coverage of the gutil, grand module ( #1989 )
2022-07-11 19:33:59 +08:00
John Guo
1acc1b8230
improve DeepCopy feature for bunch of components, especially the container and gtime ( #1956 )
2022-06-29 14:58:27 +08:00
John Guo
f0568b4e22
Merge branch 'develop'
2022-06-21 19:08:36 +08:00
Lonely
52056644d4
add context parameter ( #1919 )
2022-06-20 20:34:59 +08:00
John Guo
cdd4473df5
improve command gen service; add error trace for error of some packages
2022-06-16 17:07:25 +08:00
John Guo
6abbc57c96
fix issue #1864
2022-05-26 15:28:17 +08:00
John Guo
331a29024e
merge master
2022-05-23 22:17:06 +08:00
houseme
6aa5c2b2ef
Fix/1748 issues #1748 ( #1817 )
2022-05-23 22:09:11 +08:00
John Guo
0d7e28ee75
add deep copy feature
2022-05-23 16:51:10 +08:00
houseme
ab82599ee2
Feature/polaris feat: Add Polaris support ( #1797 )
2022-05-18 22:24:40 +08:00
John Guo
6176028176
improve package gmeta
2022-05-18 17:57:16 +08:00
John Guo
583d576cdb
remove octal number converting for gconv.Int*/Uint* functions; fix issue #1733
2022-05-09 21:26:42 +08:00
John Guo
ac5d399906
improve package guid
2022-04-19 16:18:49 +08:00
John Guo
d260de15ba
fix issue #1750
2022-04-18 20:57:41 +08:00
John Guo
f9c9750108
improve gutil.Dump
2022-04-15 18:00:16 +08:00
John Guo
d8b383719a
improve package gtag
2022-04-13 11:21:24 +08:00
John Guo
ed9dc70769
add UT case for package gvalid
2022-04-12 16:09:24 +08:00
John Guo
2d6fcf5d06
fix issue #1708
2022-04-12 12:09:09 +08:00
John Guo
55e0262c37
improve package gconv
2022-04-11 21:54:23 +08:00
John Guo
f1fee72d6d
fix issue #1700
2022-04-08 18:11:17 +08:00
John Guo
372bae4799
fix issue in missing first result column when in select cache scenario
2022-03-31 15:42:12 +08:00
John Guo
707dc6b346
add xextensions feature for package goai
2022-03-29 20:31:00 +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
e06f831205
improve package grand
2022-03-15 17:09:35 +08:00
John Guo
329f6b90f7
improve gutil.Dump feature
2022-03-11 15:26:01 +08:00
John Guo
d8d9996464
fix issue #1662
2022-03-11 10:24:42 +08:00
John Guo
acd1989fa1
improve Dump feature for package gutil
2022-03-10 22:29:47 +08:00
John Guo
afa1f78a02
fix issue #1661
2022-03-10 21:12:24 +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
456697ea99
improve cli command install
2022-02-28 17:48:52 +08:00
John Guo
ee614f9c6b
fix issue #1563
2022-02-23 10:27:31 +08:00
John Guo
d9c1e1f576
improve package gconv/cli
2022-02-22 20:19:41 +08:00
John Guo
afa58ed45b
fix issue #1227 #1617
2022-02-22 10:43:31 +08:00
John Guo
00ccce7bb8
fix issue #1607
2022-02-17 22:02:51 +08:00
John Guo
2461ef9f29
fix issue #1597
2022-02-17 11:46:35 +08:00
John Guo
a5cc03ff25
fix issue #1563
2022-02-16 00:47:23 +08:00
John Guo
2428b27168
fix issue #1488
2022-02-15 00:21:05 +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
d4b502f14e
fix issue #1571
2022-01-15 22:15:10 +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
6e12aa4bf7
fix issue #1568
2022-01-13 20:49:26 +08:00
Anonymous
343985ad12
Add tests to highlight problem cases previously failing
2022-01-10 18:53:32 +00:00
Anonymous
4cdddbd6e0
Recurse map fields inside structs
2022-01-04 19:22:18 +00:00
John Guo
14e96069f2
comment update for package gvalid
2021-12-26 23:17:33 +08:00
John Guo
48c5c1e5a8
change errors wrapped by gerror.Wrap with error stack info for all packages
2021-12-23 00:09:00 +08:00
John Guo
ce93b625d4
change errors wrapped by gerror.Wrap with error stack info for all packages
2021-12-21 22:59:14 +08:00
John Guo
7e81600772
improve package gjson
2021-12-20 00:32:23 +08:00
John Guo
40225c5352
improve route dump for package ghttp;remove mutex for package gtag
2021-12-18 12:54:09 +08:00
John Guo
20c0e6d68f
error message update for package gconv
2021-12-17 17:28:02 +08:00
John Guo
b27259aded
fix issue converting empty map[string]string to map[string]interface{}
2021-12-17 17:22:55 +08:00
huangqian
e401ba0f43
Merge branch 'master' of https://github.com/gogf/gf
2021-12-11 23:11:35 +08:00
huangqian
b4e6abc460
Adjust the function sequence
2021-12-11 23:11:17 +08:00
John Guo
f0c25d8476
improve package gcmd/gtag
2021-12-10 23:58:10 +08:00
John Guo
02f01323f9
Merge pull request #1510 from huangqian1985/master
...
Validator Function Example
2021-12-07 19:07:54 +08:00
John Guo
6a82fdb888
add config feature for package gcmd
2021-12-07 19:08:52 +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
c5541b484f
improve package gtag/gcmd
2021-11-24 21:41:36 +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
John Guo
28fe100761
Merge pull request #1489 from huangqian1985/master
...
gmap Example and gvalid Example
2021-11-23 20:40:33 +08:00
John Guo
0622b517c5
command object feature for package gcmd
2021-11-23 20:26:55 +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
huangqian
a237495b66
modify CheckStruct to Run
2021-11-23 07:44:35 +08:00
huangqian
00ac9069ee
Merge branch 'master' of https://github.com/gogf/gf
2021-11-22 23:26:40 +08:00