1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

90 Commits

Author SHA1 Message Date
Tony Chen
623fc5cb3f
update version to v2.1.0-dev (#1249)
* update version to v2.1.0-dev

* fix pkg ordering

* upgrade kratos version
2021-07-25 22:29:16 +08:00
喵喵大人
d09ba5e3ee
style: add gosimple linter and gofmt linter (#1242) 2021-07-25 12:09:38 +08:00
Tony Chen
f872ec4685
mod: clean cmd mod (#1240) 2021-07-25 00:29:09 +08:00
包子
1a0a1b8a89
fix(cmd/new): print exception to console (#1227)
* fix(cmd/new): print exception to console

* using git command to replace judgment text
2021-07-21 22:44:11 +08:00
包子
41ad9061db
fix: fixed kratos "new" command #1218 (#1221)
* fix: fixed kratos  "new" command
2021-07-21 10:02:28 +08:00
包子
5559923193
feat(cmd/changelog): add chore group (#1217) 2021-07-20 17:38:56 +08:00
Richard
ff24e18a94
chore: optimize import sort and the short description of run cmd (#1211)
* chore: change lowercase to uppercase

* chore: optimize import
2021-07-19 22:18:36 +08:00
longXboy
f0d077a328 change version to 2.0.1 2021-07-18 20:15:52 +08:00
Casper-Mars
e8e0f6734a
typo: modify the comments of the proto-gen-go-errors (#1204) 2021-07-17 22:08:36 +08:00
包子
ac8c27ff9f
fix(cmd/run): fix the problem of looking for the cmd directory outside the project (#1166)
* fix(cmd/run): fix the problem of looking for the cmd directory outside the project
2021-07-09 20:24:07 +08:00
longXboy
14d383bc6f add v2.0.0 2021-07-08 13:54:09 +08:00
包子
e9969bc655
fix(cmd/run): fixed a problem that did not run correctly on windows (#1153)
* fix(cmd/run): fixed a problem that did not run correctly on windows
2021-07-05 11:41:12 +08:00
包子
1ef817507a
fix(cmd): modify the problem of getting length error of kratos run command array (#1150) 2021-07-04 21:45:15 +08:00
包子
a7a8d5d91a
fix(cmd): fixed a problem where prefix could not be matched in some cases (#1151)
* fix(cmd): fixed a problem where prefix could not be matched in some cases
2021-07-04 21:44:49 +08:00
包子
a2bb5de1bc
kratos run command support to find the cmd directory from the parent directory (#1146)
* feat(cmd): kratos run command support to find the cmd directory from the parent directory

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-07-04 14:23:34 +08:00
包子
70e3692698
feat(cmd): add kratos run command and clean code (#1145)
* feat(cmd): add kratos run command and clean code
2021-07-04 00:08:08 +08:00
包子
7755bd36dc
feat(cmd): add kratos changelog command (#1140) 2021-07-02 22:29:29 +08:00
longxboy
7530fadde0
Feat/fix examples (#1129)
remove github protobuf dependency
2021-06-30 15:33:08 +08:00
包子
6dd3f7f301
fix(cmd): fix kratos proto client, add parameter ./third_party (#1127)
* fix(cmd): fix kratos proto client, add parameter ./third_party
2021-06-30 15:23:39 +08:00
Tony Chen
d4d6925cd0
cmd/protoc-gen-go-http: fix http protoc to bind query_string (#1126)
* fix http protoc to bind query_string

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-30 14:13:28 +08:00
longxboy
a639340274
add rc7 (#1125) 2021-06-29 19:55:48 +08:00
Scaat Feng
c7c91edeb6
[FIX]the flag name, remove redundant hyphen (#1118) 2021-06-28 22:26:11 +08:00
包子
db086d0d0e
fix cmd proto server (#1112) 2021-06-27 09:46:36 +08:00
Ccheers
95fc17a743
fix kratos cmd proto generate path
fix kratos cmd proto generate path
2021-06-24 15:24:59 +08:00
包子
9f4c4d9877
Update cmd/upgrade (#1101) 2021-06-23 23:57:42 +08:00
包子
8cf377cf9c
fix cmd proto server (#1098) 2021-06-23 23:55:20 +08:00
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