Commit Graph

5436 Commits

Author SHA1 Message Date
黄骞
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
houseme
d37b75442d
feat: modify sql count value int64 (#2266) 2022-11-07 17:52:25 +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
John Guo
033ba588c9
fix redis ci yaml (#2269) 2022-11-05 10:23:52 +08:00
John Guo
60d8283971
fix router parameters handling by auto url decoding (#2262)
improve router parameters handling by auto url decoding
2022-11-04 15:03:27 +08:00
John Guo
ad90bc2809
version.go updates (#2259) 2022-11-04 11:33:31 +08:00
John Guo
a1b9eca7b6
fix issue #2244 (#2257)
* fix issue #2244

* ut update for package gtime

* golangci updates
2022-11-03 21:17:28 +08:00
John Guo
c4a5b8ca94
fix issue 1915 and repeated link instance key for package gdb (#2250)
* fix issue #1915

* fix issue in repeated link instance key

* add configuration item Namespace for package gdb

* up

* up

* fix: pgsql list table names (#2255)

Co-authored-by: Gin <qinyuguang@gmail.com>
2022-11-03 20:22:36 +08:00
John Guo
ab79134309
add schema name in debug logging content; add master-slave ut case for package gdb (#2249)
* add schema name in debug logging content; add master-slave ut case for package gdb

* add schema name in debug logging content; add master-slave ut case for package gdb
2022-11-02 21:55:58 +08:00
SUDOCS
63c3e8396b
attach and export real handler for request (#2220)
* attach and export real handler for request

* add note

* rename HandlerParsedItem to HandlerItemParsed

Co-authored-by: John Guo <john@johng.cn>
2022-11-01 20:17:59 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
Gin
8e0e87877a
feat: add gcfg.Adapter implements using nacos service (#2232)
* feat: add `gcfg.Adapter` implements using nacos service

* Update gf.yml

* Update gf.yml

Co-authored-by: John Guo <john@johng.cn>
2022-10-26 18:45:35 +08:00
John Guo
425b31c6fd
improve nil receiver handling for package gtime (#2226)
* improve nil receiver handling for package gtime

* CI updates

* CI updates
2022-10-26 18:37:40 +08:00
zaier277
4da469325d
fix gen dao oracle entity bug (#2219)
Co-authored-by: John Guo <john@johng.cn>
2022-10-26 18:37:06 +08:00
ivothgle
33fdde6afd
opt: parameter verification of optimized handler methods (#2224) 2022-10-20 19:36:01 +08:00
John Guo
ee6103418b
auto creating error with code in ghttp.MiddlewareHandlerResponse when there's no 200 http status code (#2223) 2022-10-20 15:50:17 +08:00
John Guo
038548c188
v2.2.1 (#2222) 2022-10-18 20:32:28 +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
1c5fd1a1f7
improve ut cases for package contrib/drivers/mysql (#2216)
* improve ut cases for package contrib/drivers/mysql

* improve logging for database Open
2022-10-17 15:43:22 +08:00
John Guo
2598745e50
fix issue #1971 (#2203)
Co-authored-by: houseme <housemecn@gmail.com>
2022-10-14 10:10:27 +08:00
ccpro
e756f284be
Add test for clickhouse #1815 (#2200) 2022-10-13 20:34:44 +08:00
John Guo
c6a02b850d
fix issue #1934 (#2193) 2022-10-13 19:13:10 +08:00
John Guo
55e8dbe9fd
remove repeated error stack file lines among stacks for package gerror (#2199)
* remove repeated error stack file lines among stacks for package gerror

* fix nil pointer error for package gerror
2022-10-13 19:12:01 +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
4ebe4233fc
fix issue of OmitEmptyWhere in Builder for package gdb (#2195) 2022-10-12 20:30:47 +08:00
houseme
35623b5abe
fix: modify Polaris config readme.md (#2186)
* fix: modify polaris config readme.md

* modify readme.md ,add License

* feat: add License
2022-10-11 19:27:26 +08:00
John Guo
b617d399b6
fix info content when listens on port :0 for ghttp.Server (#2191) 2022-10-11 19:20:39 +08:00
yss930819
b96b5c3f7c
fix: pgsql driver check local type error (#2192) 2022-10-11 19:20:16 +08:00
John Guo
847f016cc9
new version v2.2.0 (#2185) 2022-10-10 20:15:17 +08:00
houseme
c613dc8c5c
feat: temporarily disable the unit testing of the Polaris configuration center (#2183)
* feat: temporarily annotate the unit test of Polaris configuration Center

* fix: remove
2022-10-09 21:42:32 +08:00
John Guo
182a393050
package comments and readme update (#2182) 2022-10-09 21:23:55 +08:00
houseme
6cb91021cf
feat: create polaris config (#2170)
* feat: create polaris config

* feat: improve code

* feat: modify config file path

Co-authored-by: John Guo <john@johng.cn>
2022-10-09 19:20:33 +08:00
John Guo
2be9bb970b
add function ZipPathContent for package gcompress (#2179)
add function ZipPathContent for package gcompress
2022-10-09 19:19:10 +08:00
houseme
ea396a3925
feat: improve glog for polaris register (#2178)
feat: improve glog
2022-10-09 09:10:02 +08:00
John Guo
b1611fee1b
improve port listening for ghttp.Server (#2175)
* version updates

* fix issue #2172

* improve port listening for ghttp.Server

* UT cases update

* UT cases update

* add GetListenedPort/GetListenedAddress for gtcp.Server

* UT cases update for package gudp

* up
2022-10-08 21:45:21 +08:00
John Guo
dba903c13b
add WithUUID for package gtrace (#2176)
* add WithUUID for package gtrace

* feat: improve import

Co-authored-by: houseme <housemecn@gmail.com>
2022-10-08 21:44:42 +08:00
John Guo
7cb5fbe684
fix issue #1965 (#2177) 2022-10-08 21:42:30 +08:00
glennliao
d7ae5624c8
fix issue #1965 (#2174)
Co-authored-by: houseme <housemecn@gmail.com>
2022-10-08 19:36:05 +08:00
John Guo
f1455ad37a
fix issue #2172 (#2173)
* version updates

* fix issue #2172
2022-10-08 11:46:38 +08:00
John Guo
127e8af6a6
add gcfg.Adapter implements using apollo service (#2165)
* version updates

* up

* add watch feature for package kubecm

* feat: support apollo as Adapter (#2143)

* feat: support apollo as Adapter

* feat: support apollo as Adapter

* feat: support apollo as Adapter

* feat: test apollo Adapter

* feat: test apollo Adapter

Co-authored-by: hongyihui <hongyihui@lixiang.com>
Co-authored-by: houseme <housemecn@gmail.com>
Co-authored-by: John Guo <john@johng.cn>

* add gcfg.Adapter implements using apollo service

* ci yaml update for apollo

Co-authored-by: hong0220 <hong0220@users.noreply.github.com>
Co-authored-by: hongyihui <hongyihui@lixiang.com>
Co-authored-by: houseme <housemecn@gmail.com>
2022-09-30 18:19:52 +08:00
John Guo
d9be1d0b52
add watch feature for package kubecm (#2164)
* version updates

* up

* add watch feature for package kubecm
2022-09-30 17:36:40 +08:00
John Guo
6cd84e8276
fix configuration management for package gdb (#2163) 2022-09-30 15:41:51 +08:00
John Guo
ceaeceadd9
add local db configuration support for package gdb (#2161)
* version updates

* add local db configuration support for package gdb

* add local db configuration support for package gdb

* add local db configuration support for package gdb
2022-09-29 11:58:03 +08:00
zhonghuaxunGM
cd5bf7c504
Feature/driver-dm fix something is invalid in dm (#2158)
* fix core.hasfield error index out of range & fix GroupConcat is invalid in dm

* add unit test

Co-authored-by: Xu <zhenghao.xu>
2022-09-28 10:02:48 +08:00
John Guo
66aa0c7050
add switch of brief stack for package gerror (#2153) 2022-09-27 10:11:33 +08:00
John Guo
141ca62c6d
feature/v2.2.0 (#2154) 2022-09-26 22:11:13 +08:00
John Guo
9dc97f4b0d
fix issue in init context for package gctx (#2138)
* fix issue in init context for package gctx

* improve package gtest
2022-09-23 20:50:48 +08:00
John Guo
714bda3e0f
remove noisy internal logging content of package gcron (#2141) 2022-09-23 20:50:25 +08:00
HaiLaz
2b4598f65b
fix: pgsql DoExec Transaction checks (#2101)
Co-authored-by: John Guo <john@johng.cn>
2022-09-20 20:29:42 +08:00