1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-11-06 08:59:18 +02:00
Commit Graph

196 Commits

Author SHA1 Message Date
虫子樱桃
852a77faa6 Feat project create with dir name add test (#2576)
* fix issue:#2358 Support for creating a project with specifying the name for its place dir

* add test and fixed path of dir

* fixed bug:nomod param not working as expect

* fix test

* fix go1.16 unit test

Co-authored-by: czyt <czyt@w.cn>
2023-01-01 20:02:39 +08:00
baozhecheng
e36612e9ca Revert "fix issue:#2358 Support for creating a project with specifying the name for its place dir (#2573)"
This reverts commit 3d322fe6c1.
2022-12-12 23:29:54 +08:00
虫子樱桃
3d322fe6c1 fix issue:#2358 Support for creating a project with specifying the name for its place dir (#2573)
Co-authored-by: czyt <czyt@w.cn>
2022-12-12 10:34:30 +08:00
180909
c530d63e75 chore(cmd): use t.Cleanup (#2537) 2022-11-24 19:12:42 +08:00
包子
a7bae93ee0 deps: upgrade kratos version to v2.5.3 (#2500) 2022-11-10 23:00:34 +08:00
包子
dcae38d656 deps: upgrade kratos version to v2.5.2 (#2464) 2022-10-19 22:37:16 +08:00
Jesse
54655e4b24 cleanup: use HTTP package methods replace GET POST DELETE... (#2412) 2022-10-18 21:40:16 +08:00
jesse.tang
7a99e8bbdc cleanup: regex replcae \. => . (#2435) 2022-10-14 11:09:43 +08:00
jesse.tang
2de6ba028c cleanup: update scpSyntaxRe regexp (#2444) 2022-10-14 11:08:16 +08:00
包子
8743f3e50c deps: upgrade kratos version v2.5.1 (#2431)
* deps: upgrade kratos version v2.5.1

* fix goimport
2022-10-10 13:50:04 +08:00
jesse.tang
4d95050747 fix: fmt import (#2379) 2022-09-27 14:08:08 +08:00
jesse.tang
9737a3c5e4 fix: typo and grammatical errors (#2368)
* fix: grammar

* fix: grammar

* fix overrode

* translate to English

* translate to English
2022-09-19 10:39:54 +08:00
180909
0f0c75e20b feat(cmd): user prePage to check changelog dev (#2340) 2022-09-07 11:42:59 +08:00
180909
18c5734930 test(cmd): add ModulePath test (#2337) 2022-09-06 13:50:00 +08:00
180909
8d76eebf8b test(cmd/change): add ParseGithubURL test (#2339)
* test(cmd/change): add ParseGithubURL test

* use anonymous struct
2022-09-06 13:49:16 +08:00
180909
39536d3279 fix(cmd): fix CmdAdd long message example (#2343) 2022-09-01 23:21:27 +08:00
虫子樱桃
20c2425c18 fix kratos new -r not support scp styled git url.issue https://gith… (#2295)
* fix `kratos new -r` not support scp styled git url.issue https://github.com/go-kratos/kratos/issues/2294

* fix lint

* fix lint

* remove tail space and add  test case

Co-authored-by: czyt <czyt@w.cn>
Co-authored-by: czyt <x-gopher@qq.com>
2022-08-31 21:35:38 +08:00
jesse.tang
73a8323ee7 fix: slice/map make init cap (#2300) 2022-08-24 18:19:07 +08:00
包子
563ad0d34a deps: upgreade kratos version to v2.5.0 (#2286) 2022-08-17 14:23:48 +08:00
包子
eff368621f deps: upgrade kratos version to v2.4.1 (#2242) 2022-07-28 19:43:50 +08:00
hshe
b7422717cf proto build client structName not match to server's structName (#2200)
* fix(proto/server): server .ServerName not Match to Client ServerName

* fix(proto/server): unit server_test
2022-07-27 10:51:19 +08:00
Haibo
59b758ceda feat: support passing program args with run cmd (#2207) 2022-07-27 10:50:23 +08:00
haiyux
14cfd65b62 fix: remove unuseful file when use nomod (#2234) 2022-07-24 15:12:16 +08:00
包子
1451b9e0c0 deps: upgrade kratos version to v2.4.0 (#2186) 2022-07-11 19:51:26 +08:00
haiyux
addcbba66e feat: add protoc-gen-go-http annotations synchronization with protoc-gen-go-grpc (#2151) 2022-07-04 23:28:26 +08:00
Guoqiang Ding
035c2f5387 fix: typo on emptypb.Empty (#2150)
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
2022-07-04 20:57:57 +08:00
ThereWeGo
4ca25e4679 fix: show git output (#2143)
Co-authored-by: yz <yz@mercedes.com>
2022-06-29 21:42:14 +08:00
shifengbin
2ad7ffdd7e fix: remove the output of the proto command 2022-06-29 20:44:59 +08:00
longxboy
2a989ea0fe fix dup gen const for http (#2102)
Co-authored-by: caoguoliang01 <caoguoliang01@bilibili.com>
2022-06-16 18:58:16 +08:00
haiyux
752f011ba1 fix:fix proto add underscore problem (#2101)
* fix:fix proto add underscore problem
2022-06-14 22:32:58 +08:00
raw34
228ceaae9d fix: kratos proto server cmd method name bugfix (#2089) (#2094) 2022-06-14 15:00:21 +08:00
longxboy
eb280903f0 fix: operation http constant name conflict (#2087)
* add http operation const

* fix conflict name constant operation
2022-06-07 19:24:43 +08:00
longxboy
93adaba60a add http operation const (#2086) 2022-06-07 17:40:55 +08:00
包子
95dce00852 deps: upgrade kratos version to v.2.3.1 (#2075)
Co-authored-by: baozhecheng <>
2022-06-02 19:13:50 +08:00
包子
70317d05a0 deps: upgrade kratos version to v2.3.0 (#2036) 2022-05-24 11:53:07 +08:00
longxboy
655fe37188 fix:fix error camel case (#2032)
* fix error camel case
2022-05-23 17:49:22 +08:00
haiyux
71ea97fd93 deps: upgrade go mod version (#2028)
* deps:upgrade go mod version
2022-05-22 21:18:46 +08:00
songzhibin97
398012aed4 Update project.go (#2024) 2022-05-22 10:03:12 +08:00
songzhibin97
aa6529fb2d style:change (#2022) 2022-05-22 10:00:58 +08:00
songzhibin97
ec2e3ab24e Update path.go (#2023) 2022-05-22 09:47:14 +08:00
songzhibin97
bbb96f1e1f Update run.go (#2025) 2022-05-22 09:46:05 +08:00
songzhibin97
c1dbc2dbd3 stype:gen_go_errors (#2026)
* Update errors.go

* Update errors.go
2022-05-22 09:45:16 +08:00
songzhibin97
b49b7c6ca8 Update server.go (#2027) 2022-05-22 09:44:18 +08:00
qi
53c8877ce4 fix(protoc-gen-go-errors): fix generated function comments have extra blank lines. (#2008) 2022-05-20 15:35:20 +08:00
songzhibin97
5c66fcdc5a fix:#2002 definition service lowercase generation cannot be exported (#2003)
* fix:#2002

* fix:lint
2022-05-20 12:30:05 +08:00
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