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

129 Commits

Author SHA1 Message Date
包子
a0006677e9
fix(cmd/kratos): filepath walk nil pointer reference problem (#1762)
* fix(cmd/kratos): filepath walk nil pointer reference problem

* Update path.go
2022-01-12 21:13:42 +08:00
Heelie
d082075676
fix: change installation package path for protoc-gen-openapi (#1759)
* fix: change installation package path for protoc-gen-openapi


Co-authored-by: haiyux <haiyux@foxmail.com>
2022-01-10 21:27:53 +08:00
包子
7fe194ead4
deps: uprade kratos version to v2.1.4 (#1749) 2022-01-05 16:30:08 +08:00
haiyux
d9530ed54b
fix(cmd/kratos): add look protoc-gen-openapi when use kratos proto client (#1726) 2021-12-28 22:20:36 +08:00
Giovanny Gutiérrez
b6b95089c4
fix(cmd/protoc-gen-go-http): Fix when replacement rule is not ending (#1721) 2021-12-28 15:41:38 +08:00
aldslvda
c1ab0cce3c
fix: fix typo in cmd/protoc-gen-go-http/http.go(is does not -> does not) (#1718) 2021-12-28 10:53:30 +08:00
包子
3642f5d0ba
feat(cmd/kratos): generating API documentation using Gnostic (#1716) 2021-12-27 16:39:28 +08:00
Giovanny Gutiérrez
ccb649a201
fix(protoc-gen-go-http): Update http rule when path mappings (#1704)
* fix(cmd/protoc-gen-go-http): Follow the http rule to use the query string
2021-12-26 21:13:38 +08:00
Xudong Cai
e95452276f
fix(cmd): fixed a camel word enum error 2021-12-24 14:10:50 +08:00
包子
0e72cc2dcb
fix(cmd/proto-gen-http-go): remove go.mod replace (#1707) 2021-12-22 16:24:35 +08:00
包子
1117350b9c
deps: update kratos version to 2.1.3 (#1706) 2021-12-22 14:15:09 +08:00
JerryZhou
94d674fd4c
fix(cmd/proto-gen-errors): non nil assertion for error (#1700) 2021-12-20 11:10:01 +08:00
Richard
c9e19f1d98
chore: completion command in the comment (#1680) 2021-12-09 23:24:39 +08:00
haiyux
ef3322ec07
fix: remove cmd replace (#1640) 2021-11-19 17:14:24 +08:00
包子
6b53d7d229
deps: upgrade 2.1.2 (#1638)
* deps: upgrade 2.1.2

* fix lint
2021-11-19 15:02:49 +08:00
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 (#1626) 2021-11-18 00:38:31 +08:00
Eng Zer Jun
77b16286f8
refactor: move from io/ioutil to io and os packages (#1633)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-16 13:22:35 +08:00
Giovanny Gutiérrez
7a52468ea8
fix(cmd/protoc-gen-go-http): follow the http rule to use query strings (#1629) 2021-11-15 11:52:31 +08:00
包子
268243d8a3
fix(cmd/new): print the correct error message (#1630) 2021-11-14 13:32:10 +08:00
thinkgo
c70cdc9a11
fix[cmd]: if enum is a word in proto file, it should be camel too. (#1618) 2021-11-10 21:09:16 +08:00
包子
5aac2ef5a7
fix(cmd/http): fixed cannot declare a route with a regular expression (#1608)
* fix(cmd/http): fixed cannot declare a route with a regular expression
2021-11-05 16:44:57 +08:00
包子
ce8ed35c1d
fix(cmd/kratos): use context timeout control, add timeout param (#1592) 2021-11-01 17:48:57 +08:00
longxboy
2d026f1f95
fix: cmd http embed message path generate (#1561)
fix: cmd http embed message path generate (#1561)
2021-10-17 16:33:46 +08:00
包子
014778b72a
fix(cmd/proto-gen-http): fix the problem that the field declaration does not exist causing panic (#1553) 2021-10-15 17:18:13 +08:00
包子
979ec39c53
deps: update kratos version (#1554) 2021-10-15 17:15:02 +08:00
包子
872d31343a
revert: revert #1544 (#1548) 2021-10-14 16:14:34 +08:00
storyicon
1e86faea1b
fix(protoc-gen-go-errors): fix the camel case bug of name (#1544)
Signed-off-by: storyicon <yuanchao@bilibili.com>
2021-10-13 13:43:13 +08:00
Windfarer
f3e75bffca
feat: update go version to 1.16 (#1536) 2021-10-08 20:49:56 +08:00
海雨
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