Commit Graph

5646 Commits

Author SHA1 Message Date
HaiLaz
84b7cbd992
ci: action update (#2289) 2022-11-10 20:26:57 +08:00
HaiLaz
bc8ca912ce
fix: gcron check if the predefined patterns fail (#2288) 2022-11-10 19:59:09 +08:00
黄骞
b61baa1efc
add ut cases for package gconv part2 (#2282) 2022-11-10 19:58:03 +08:00
ccpro
c4a5bc8584
style(test): Unify the indentation format of SQL strings in clickhouse_test (#2277)
style(test): Unify the indentation format of SQL strings
2022-11-10 19:57:15 +08:00
John Guo
8c71d579b5
add command fix and up (#2280) 2022-11-10 19:56:12 +08:00
wei.wei
2e8d8f63ff
fix IsSubDomain method error (#2283)
Co-authored-by: weiwei3 <weiwei3@37.com>
2022-11-10 19:47:43 +08:00
John Guo
91b94878d3
fix used schema not change in nested transaction when used different schemas (#2279)
* fix used schema not change in nested transaction between different schemas

* up

Co-authored-by: houseme <housemecn@gmail.com>
2022-11-10 09:55:08 +08:00
John Guo
b000aa3dfe
add supervisor for package grpool (#2252)
* add supervisor for package grpool

* up
2022-11-08 19:00:16 +08:00
黄骞
582c6eaef9
gtest model unit test (#2267) 2022-11-07 17:56:33 +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
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