opensite
5f41ea0f04
fix(cmd): fix kratos cmd ( #1102 )
...
fix kratos proto client cmd when the validate.proto is annotated not to generate validate pb file
修复kratos命令,validate.proto 引入,注释未使用时,不生成 validate pb文件
2021-06-23 23:54:28 +08:00
opensite
4236b40c94
feat(cmd): support the validate pb file generate for kratos proto client command ( #1094 )
...
kratos client 命令 增加 validate pb 文件生成
Co-authored-by: lishuangxi <lishuangxi@bjx.cloud>
2021-06-22 20:33:00 +08:00
longxboy
b6fc811744
fix version ( #1090 )
2021-06-21 11:24:24 +08:00
longxboy
e278a4cf36
fix protoc http cmd ( #1079 )
2021-06-18 11:49:25 +08:00
longxboy
4241dc8106
add rc5 ( #1078 )
...
* add rc5
2021-06-18 10:53:29 +08:00
longxboy
8baa2ede4b
add path pattern for http ( #1076 )
...
* add path pattern for http
2021-06-17 17:34:27 +08:00
isfk
a50bbbd0d5
update kratos version ( #1074 )
...
update kratos version to rc4
2021-06-17 15:20:35 +08:00
longxboy
dc80d0865f
add omitempty ( #1054 )
2021-06-14 11:43:22 +08:00
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 ( #1050 )
...
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
2021-06-14 00:59:07 +08:00
包子
c114f5c96b
fix proto-gen-go-errors bug ( #1047 )
2021-06-13 15:01:23 +08:00
Tony Chen
99719dd667
cmd: update cmd version ( #1040 )
...
* update cmd version
* update app info
2021-06-13 01:07:43 +08:00
Tony Chen
2729caeecf
http/binding: rename encode url ( #1039 )
...
* rename binding url
2021-06-13 00:56:01 +08:00
Tony Chen
eca0f35cb5
transport/http: add vars to http context ( #1037 )
...
* add vars to http context
* add query to http context
* remove http deps
* clean request decoder
2021-06-12 22:21:54 +08:00
包子
67c1e4584b
modify cmd/proto-gen-go-errors ( #1035 )
...
* modify cmd/proto-gen-go-errors
2021-06-12 19:15:02 +08:00
Tony Chen
1b13abd136
transport/http: add http route ( #1029 )
...
* add http route
* fix http context
* add HTTP middleware
Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-12 18:30:17 +08:00
Tony Chen
828a7c5219
copy errors proto ( #1030 )
2021-06-11 17:49:29 +08:00
longxboy
736385c8e6
Feat/uni transport ( #1028 )
...
* add metadata incoming&outgoing
* regenerate proto
* uni transport
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-11 15:05:57 +08:00
Tony Chen
05c2e16b9e
fix http rules empty ( #1023 )
2021-06-09 13:44:34 +08:00
Tony Chen
50e3dea2ee
fix errors proto ( #1020 )
2021-06-09 10:48:29 +08:00
包子
996922fa87
Clean errors ( #1019 )
...
* cmd/upgrade add proto-gen-go-errors
modify proto-gen-go-errors template and go.mod
* modify proto-gen-go-errors version and clean code
2021-06-08 19:29:29 +08:00
包子
7585257f9e
modify proto-gen-go-errors version and func name ( #1018 )
...
* modify proto-gen-go-errors version and func name
2021-06-08 16:53:08 +08:00
包子
0834128e57
add protoc-gen-errors ( #1017 )
...
* add protoc-gen-errors
* fix protoc-gen-go-errors/go.mod
* default_code handling
* Modify code value range
2021-06-08 16:33:50 +08:00
包子
02f9ea49c7
add cmd specify the version or branch #977 ( #986 )
...
* add cmd specify the version or branch
2021-06-01 18:07:39 +08:00
Michael Li
ad8f12c9fd
remove redundant statements in generated code template for protoc-gen-go-http ( #976 )
2021-06-01 00:21:56 +08:00
Richard
f51bd97324
chore: format import sort ( #973 )
...
Co-authored-by: quanlong <wangquanlong@joyme.sg>
2021-05-31 19:40:16 +08:00
Tony Chen
7dec80ccfd
fix error code and regenerate proto ( #954 )
...
* fix error code and regenerate proto
2021-05-26 20:05:34 +08:00
longxboy
eb958b2093
add path for rpc stub ( #947 )
...
* add path for rpc stub
* fix http body and response_body
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-05-26 14:23:43 +08:00
longxboy
9a3a02fc68
add http client rpc stub ( #943 )
...
* add http client
2021-05-24 23:01:26 +08:00
Tony Chen
4d0770a6a2
fix http handler ( #939 )
2021-05-22 11:14:55 +08:00
Tony Chen
b9f821c29f
transport/http: add http handler ( #937 )
...
* add http handler
* fix request error
2021-05-21 23:11:36 +08:00
webliupeng
248d30f068
fix incorrect return type in service template ( #935 )
2021-05-20 17:44:01 +08:00
包子
6791cd665b
Modify cmd new project terminal output style ( #908 )
...
* Modify cmd new project terminal output style
* Modify kratos cmd create project handling abnormal situations
* Modify cmd new project terminal output style
2021-05-13 14:57:35 +08:00
包子
0e4a057027
modify kratos cmd new project ( #907 )
...
* Modifying the kratos cmd new project does not use the go git module, but uses the native git command
2021-05-12 22:33:26 +08:00
Tony Chen
eed0ac7d4a
add layout env ( #897 )
2021-05-06 19:52:18 +08:00
Tony Chen
2e4bb11f00
remove proto gopath ( #896 )
2021-05-06 16:45:49 +08:00
Tony Chen
eeab979d5f
remove errors generator ( #892 )
2021-05-02 00:00:44 +08:00
Joe
21d9ff2c39
refactor: format new.go ( #885 )
2021-04-29 18:45:20 +08:00
Tony Chen
d85f5e9ae1
encoding/json: fix nil value ( #884 )
...
* fix nil value
2021-04-29 15:49:44 +08:00
Cluas
e93da2468c
cmd: use structured path ( #838 )
2021-04-15 13:28:18 +08:00
Cluas
2ccf15a048
proto/add: avoid panic when using non-hierarchical path ( #829 )
2021-04-13 14:03:20 +08:00
Cluas
c086eb1147
proto/add: rename to export && remove unnecessary type conversion ( #825 )
2021-04-13 10:27:12 +08:00
Cluas
35d7b4113f
proto/client: print correct err ( #826 )
2021-04-13 10:22:12 +08:00
Tony Chen
af11512ee3
add protoc args ( #821 )
2021-04-12 21:36:26 +08:00
包子
afd2a6b19a
Modify the tool version number as beta3 ( #813 )
...
Modify the tool version number as beta3
2021-04-06 15:47:08 +08:00
包子
35d52295db
Modify the command line tool to specify a custom layout repo when creating a new project ( #814 )
2021-04-06 15:46:43 +08:00
Tony Chen
311a65367e
update kratos ( #785 )
2021-03-18 00:21:15 +08:00
Tony Chen
2b47dc4dfb
fix http templates ( #783 )
2021-03-17 20:27:16 +08:00
Tony Chen
f9522036da
api: update extension index ( #775 )
...
* update extension & regenerate proto
2021-03-17 00:00:30 +08:00
Tony Chen
a185916df6
cmd: update kratos version ( #773 )
...
* update kratos version
2021-03-16 23:38:18 +08:00
Windfarer
5546be9188
fix example ( #755 )
...
* fix example
2021-03-11 23:42:28 +08:00