市民233
0b0406f41a
fix: 解决golint 部分警告 ( #897 )
...
* feat: 解决goreportcard的警报
ps: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
* feat: 优化golint警告,将processFieldPrimitiveWithJsonNumber 改成 processFieldPrimitiveWithJSONNumber
unmarshaler.go:248:23: method processFieldPrimitiveWithJsonNumber should be processFieldPrimitiveWithJSONNumber
* feat: 添加 WithCanonicalKeyFunc 注释
* feat: 添加DisableStat的注释
* feat: 添加 RegisterGoctlHome 注释
* feat: 添加 PostgreSqlJoin 注释
* feat: 解决goline警告should not use basic type string as key in context.WithValue问题
* feat: 解决golint警告信息: should not use basic type string as key in context.WithValue
* fix: 定义自定义字段类型,导致go test fail 问题
* update: 恢复原有测试用例
* fix golint warning
2021-08-11 17:57:20 +08:00
_ksco
cc264dcf55
refactor ( #878 )
...
* refactor(tools ): refactor cod
Improve code readability and performance
* fix(tools ): fix len bug
Co-authored-by: ksco <hyang@33.cn>
2021-08-11 17:33:18 +08:00
Kevin Wan
e024aebb66
fix golint issues ( #899 )
2021-08-11 11:38:55 +08:00
Phibe
f204729482
remove unnecessary chars. ( #898 )
2021-08-11 10:51:28 +08:00
Phibe
d20cf56a69
simplify type definition in readme ( #896 )
...
* better text rendering
* simplify type definition in readme
2021-08-10 18:02:11 +08:00
Kevin Wan
54d57c7d4b
refactor rest code ( #895 )
2021-08-10 17:59:33 +08:00
voidint
28a7c9d38f
fix http header binding failure bug #885 ( #887 )
2021-08-10 17:38:03 +08:00
Kevin Wan
872e75e10d
add logx.DisableStat() to disable stat logs ( #893 )
...
* add logx.DisableStat() to disable stat logs
* refactor logx code
2021-08-10 16:55:38 +08:00
Phibe
af1730079e
better text rendering ( #892 )
2021-08-10 15:13:09 +08:00
Kevin Wan
04521e2d24
format code ( #888 )
2021-08-09 23:03:08 +08:00
Kevin Wan
02adcccbf4
format code ( #884 )
2021-08-09 18:11:08 +08:00
anqiansong
a74aaf1823
optimize mongo generation without cache ( fix #881 ) ( #882 )
...
* fix #881
* fix #881
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-08-09 11:33:01 +08:00
Kevin Wan
1eb2089c69
add go-zero users ( #883 )
2021-08-09 08:37:43 +08:00
Kevin Wan
f7f3730e1a
update goctl version to 1.1.10 ( #874 )
2021-08-04 19:29:40 +08:00
Kevin Wan
0ee7654407
fix #792 ( #873 )
2021-08-04 18:45:05 +08:00
neosu
16cc990fdd
fix context missing ( #872 )
...
Co-authored-by: suzhenpeng <suzhenpeng@ecoplants.tech>
2021-08-04 17:46:51 +08:00
neosu
00061c2e5b
add goctl rpc template home flag ( #871 )
...
Co-authored-by: suzhenpeng <suzhenpeng@ecoplants.tech>
2021-08-04 15:54:43 +08:00
Kevin Wan
6793f7a1de
fix bug that proc.SetTimeToForceQuit not working in windows ( #869 )
2021-08-04 11:31:33 +08:00
anqiansong
c8428a7f65
fix issue #861 ( #862 )
...
* fix issue #861
* fix issue #861
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-08-01 23:00:57 +08:00
toutou_o
a5e1d0d0dc
add correct example for pg's url ( #857 )
2021-07-30 13:58:44 +08:00
anqiansong
8270c7deed
optimize typo ( #855 )
2021-07-29 21:53:16 +08:00
anqiansong
9f4a882a1b
fix issue #831 ( #850 )
...
* fix issue #831
* fix typo
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-28 16:32:15 +08:00
anqiansong
cb7b7cb72e
fix issue #836 ( #849 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-27 22:13:17 +08:00
Kevin Wan
603c93aa4a
upgrade grpc package ( #845 )
2021-07-24 22:29:02 +08:00
masonchen2014
cb8d9d413a
simplify timeoutinterceptor ( #840 )
...
Co-authored-by: chenmusheng <chenmusheng@laoyuegou.com>
2021-07-24 21:51:46 +08:00
Kevin Wan
ff7443c6a7
fix #796 ( #844 )
2021-07-24 12:58:14 +08:00
fangjianwei
b812e74d6f
Fixed http listener error. ( #843 )
2021-07-24 12:57:56 +08:00
anqiansong
089cdaa75f
Feature model postgresql ( #842 )
...
* Support postgresql generate
* Update template Var
* Support to generate postgresql model
* Support to generate postgresql model
* Update template
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-23 11:45:15 +08:00
fangjianwei
476026e393
Added database prefix of cache key. ( #835 )
2021-07-22 11:29:09 +08:00
Kevin Wan
75952308f9
remove faq for old versions ( #828 )
2021-07-19 22:54:21 +08:00
Kevin Wan
df0550d6dc
add go-zero users, update faq ( #827 )
2021-07-19 17:13:33 +08:00
neosu
e481b63b21
Fix the error stream method name ( #826 )
2021-07-18 22:05:28 +08:00
Kevin Wan
e47079f0f4
go format with extra rules ( #821 )
2021-07-17 20:51:23 +08:00
anqiansong
9b2a279948
Fix issues: #725 , #740 ( #813 )
...
* Fix issues: #725 , #740
* Update filed sort
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-16 22:55:39 +08:00
anqiansong
db87fd3239
To generate grpc stream, fix issue #616 ( #815 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-16 22:54:07 +08:00
aaffo
598fda0c97
optimized ( #819 )
2021-07-15 23:50:44 +08:00
Chen Quan
b0e335e7b0
Fix rpc generator bug ( #799 )
...
* Fix rpc自动生成generate bug
* Delete mock
2021-07-10 13:12:52 +08:00
anqiansong
efdf475da4
Add --go_opt flag to adapt to the version after 1.4.0 of protoc-gen-go ( #767 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-07-08 10:11:11 +08:00
Chen Quan
22a1315136
[WIP]Add parse headers info ( #805 )
...
* Add parse headers info
* Update parse headers info
2021-07-07 23:20:09 +08:00
Kevin Wan
5b22823018
fix bug that empty query in transaction ( #801 )
2021-06-29 23:18:32 +08:00
Kevin Wan
9ccb997ed8
refactor mapping ( #782 )
2021-06-23 14:57:37 +08:00
skykiss
01c92a6bc5
fix: Fix problems with non support for multidimensional arrays and basic type pointer arrays ( #778 )
...
Co-authored-by: shaoqian <shaoqian.zhang@appshahe.com>
2021-06-23 10:58:01 +08:00
lucaq
c9a2a60e28
Add Sinter,Sinterstore & Modify TestRedis_Set ( #779 )
...
* Add Sinter,Sinterstore; Modify TestRedis_Set
* Update redis_test.go
fix test failure
Co-authored-by: lucq <lucq@toopsoon.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2021-06-23 10:46:16 +08:00
Kevin Wan
b0739d63c0
update readme images ( #776 )
2021-06-21 16:45:44 +08:00
Kevin Wan
c22f84cb5f
update image rendering in readme ( #775 )
2021-06-21 16:34:14 +08:00
Kevin Wan
60450bab02
disable load & stat logs for goctl ( #773 )
2021-06-21 14:25:33 +08:00
Kevin Wan
3e8cec5c78
upgrade grpc & etcd dependencies ( #771 )
2021-06-21 09:05:20 +08:00
Kevin Wan
74ee163761
fix bug that etcd stream cancelled without re-watch ( #770 )
2021-06-17 18:46:16 +08:00
anqiansong
ea4f680052
Fix issue #747 ( #765 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-06-15 18:54:41 +08:00
heyanfu
58cdba2c5d
remove useless annotation ( #761 )
2021-06-14 16:00:47 +08:00