1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-26 03:52:12 +02:00

151 Commits

Author SHA1 Message Date
海雨
23a96a3d63
feat:add warning when http path filed use map or list (#1526)
* feat:add warning when http path filed use map or list
2021-09-30 14:12:27 +08:00
yuemoxi
6ca81236b6
fix: Fix lint of files in cmd/kratos (#1442) 2021-09-07 15:46:22 +08:00
Casper-Mars
f5339e3ea3
fix(cmd/protoc-gen-go-http):part of #1430,fix cmd/protoc-gen-go-http (#1440) 2021-09-07 14:26:24 +08:00
Casper-Mars
2a4d440680
fix(cmd/protoc-gen-go-errors):part of #1430,fix cmd/protoc-gen-go-errors (#1435) 2021-09-07 10:46:46 +08:00
yuemoxi
9c6f2713e7
optimize: template spaces to tabs (#1352)
* optimize: template spaces to tabs
2021-08-16 18:56:48 +08:00
包子
3f68c9a9e0
fix(cmd/run): command execution directory error (#1336)
* fix(cmd/run): command execution directory error

* fix
2021-08-15 12:36:00 +08:00
包子
ff78611766
feat(cmd/pgh): add processing when generating HTTP code (#1306)
* feat: add processing when generating HTTP code
2021-08-09 10:28:20 +08:00
月墨夕
c1b9ace84e
feat: kratos tool support generate stream service code (#1284)
* kratos tool support generate stream service code
2021-08-06 11:11:45 +08:00
opensite
a636fd52a4
feat(cmd): support the third party specify by self and fix the warning when third party is not in current directory (#1266)
* feat(cmd): support the third party specify by self and fix the warning when third party is not in current directory

* add env support and fix the directory of specify as full directory

* fix the env and flag variable name and rename the function name of the directory is exist check
2021-07-28 19:20:29 +08:00
Tony Chen
e7d2f4966a
upgrade kratos to v2.0.3 (#1264) 2021-07-27 15:59:34 +08:00
包子
9808ceb7a8
feat(cmd/upgrade): compatible with go get and go install (#1255)
* feat(cmd/upgrade): compatible with go get and go install
2021-07-26 11:43:13 +08:00
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