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
songzhibin97
8ff5f2fe88
fix:#1987 Http and grpc generate route alignment (#1988)
* fix:#1987

* fix:explicit naming

* Update template.go

* Update template.go
2022-05-19 22:40:36 +08:00
Nikita Krasnikov
ed144f6813
Fix buildMethodDesc for two and more message field (#1979) 2022-05-16 13:37:36 +08:00
包子
091ba2dae7
deps: upgrade kratos version to v2.2.2 (#1944) 2022-05-06 21:44:28 +08:00
JeffreyBool
245f55d3ba
feat: protoc-gen-go-errors add comment (#1961) 2022-05-05 10:13:09 +08:00
haiyux
4e73384a9e
feat:new and add karge warehouse (#1953)
* feat:new and add karge warehouse
2022-04-27 20:12:44 +08:00
haiyux
73545347e8
fix: fix kratos run when cmd number is one (#1956) 2022-04-27 10:36:40 +08:00
haiyux
d4c4908ef6
fix: fix choose failed when paths cmd/server (#1954) 2022-04-26 21:06:30 +08:00
Xudong Cai
9ca08888df
fix: error case2Camel (#1923) 2022-04-10 16:17:03 +08:00
Casper-Mars
4f21094a56
fix(cmd/protoc-gen-go-errors):fix lint problem (#1919)
use cases.Title instead of strings.Title
2022-04-08 16:20:27 +08:00
yoogo
d5a2fb59ad
fix(cmd): protoc-gen-go-http use self release (#1909) 2022-04-03 00:55:38 +08:00
包子
e98c0078cb
deps: upgrade kratos version to 2.2.1 (#1890) 2022-03-18 11:51:39 +08:00
包子
de2d4eacda
fix(cmd): proto-gen-go-http warn only when ending with a slash (#1887) 2022-03-18 11:33:14 +08:00
letian
d373c51acf
fix: kratos command error on windows (#1884) 2022-03-17 16:58:33 +08:00
kwanhur
ac99a5c877
style(cmd/errors/examples/middleware/transport): fix common words' spelling mistakes (#1872)
* matchs to matches
* contraint to constraint
* resovle to resolver
* ser to set

Signed-off-by: kwanhur <huang_hua2012@163.com>
2022-03-10 22:42:44 +08:00
Sasha Melentyev
48d407cc9b
perf: add prealloc (#1846) 2022-02-27 12:29:51 +08:00
包子
d6896127b1
deps: upgrade kratos version to 2.2.0 (#1834) 2022-02-23 17:13:57 +08:00
haiyux
370a1585a5
fix: fix the latest version of lint problem (#1825) 2022-02-18 17:13:41 +08:00
包子
cde962a6c1
fix(cmd/http): warn only when a get or delete request declares a body (#1789) 2022-02-18 08:59:27 +08:00
包子
9ea78f302d
deps: upgrade kratos version to v2.1.5 (#1785) 2022-01-24 15:26:45 +08:00
gopower
ef99b7d1ef
deps[cmd]: Upgrade Cobra 1.2.1 -> v1.3.0 (#1783)
Co-authored-by: gopower <goproxy@13.com>
2022-01-24 13:44:45 +08:00
Tony Chen
0965bf8e22
fix(cmd/kratos): specified version for upgrade (#1772) 2022-01-17 18:42:05 +08:00
haiyux
00c05e82a3
test:remove testify go mod (#1766)
* test:remove testify go mod

* tidy go mdo

* fix test
2022-01-14 10:02:42 +08:00
包子
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