1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-15 13:53:35 +02:00

224 Commits

Author SHA1 Message Date
Huoxi
69a5f8cdcb
update golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f to 0.1.0 (#2984) 2023-11-20 19:48:35 +08:00
包子
6cdd81811e
deps: upgrade kratos version to v2.7.1 (#3043) 2023-10-23 20:52:39 +08:00
包子
7888107c4b
deps: upgrade kratos version to v2.7.0 (#2944) 2023-08-08 13:17:27 +08:00
qzwxsaedc
d2b1119d5e
fix(kratos cli): kratos cli gives wrong import path when creating app with --nomod parameter (#2938)
* fix: kratos cli gives wrong import path when creating app with --nomod parameter

* style(kratos): solute lint error.

* style(kratos): solute lint error in project.go.
2023-08-08 00:20:58 +08:00
蒋光华
79e862d5b9
fix:go-http plugin path encoding error (#2917)
* fix:go-http plugin path encoding error

* fix:(http_test.go) File is not gofmt -ed with -s (gofmt)

* fix:(http_test.go) File is not gofmt -ed with -s (gofmt)

---------

Co-authored-by: J-guanghua <490011961@qq.com>
2023-08-04 11:28:04 +08:00
hoslo
e2a0bac628
feat: add bindQuery default (#2915)
* feat: add bindQuery default

* fix: change priority

---------

Co-authored-by: shuai_yang <shuai_yang@intsig.net>
2023-07-28 18:27:05 +08:00
Mystic
7d9a0d1dee
build(go): upgrade to go 1.19 (#2905)
BREAKING CHANGE: upgrade go 1.19
2023-07-28 18:08:49 +08:00
包子
32b1d13f90
deps: upgrade kratos version to v2.6.3 (#2903)
* deps: upgrade kratos version to v2.6.3

* fix ci

* go mod tidy

* upgrade 1.19
2023-07-04 13:14:01 +08:00
Tony Chen
32c0d2dd97
feat: add omitempty prefix to rule path (#2870)
* add omitempty prefix to rule path

* fix empty method
2023-06-16 17:04:08 +08:00
xu0o0
e86ad248c3
fix(cli): fix import path with --nomod (#2775)
Co-authored-by: 包子 <baozhecheng@foxmail.com>
2023-06-08 17:20:11 +08:00
haiyux
96480c11ee
fix: fix go import path when add project --nomod (#2837) 2023-05-19 14:19:18 +08:00
包子
56777ee655
deps: upgrade kratos version to v2.6.2 (#2817)
* deps: upgrade kratos version to v2.6.2

* fix ci

* mod tidy

* mod tidy
2023-05-08 21:05:40 +08:00
chen quan
a837603c6d
chore: embedding template (#2810) 2023-05-08 11:35:10 +08:00
Bin
446774f9e5
fix:proto nesting causes template generation problems (#2718)
* fix:proto nesting causes template generation problems

* feat: add test

* fix: cmd introduction word change

---------

Co-authored-by: haiyux <haiyux@foxmail.com>
2023-03-26 22:53:28 +08:00
Bin
99ccd00434
fix: package path to filepath (#2672)
* fix: package path to filepath

* fix: automatic import

* fix: automatic import
2023-03-26 22:50:52 +08:00
jessetang
9a973d29c2
fix: rectification of non-standard lint codes (#2746) 2023-03-21 15:33:08 +08:00
Xin
d05729399e
fix: change the working directory of the command (#2560)
* fix: change the working directory of the command
Refs #2519

* fix: change the working directory by kratos run --work=xxxxx
2023-03-16 13:03:05 +08:00
jessetang
6369db2e8e
fix(cmd/kratos/internal/base/repo.go): missing error (#2734)
* fix(cmd/kratos/internal/base): missing error

* fix
2023-03-16 11:33:22 +08:00
jessetang
492248d032
fix(cmd): import format (#2735) 2023-03-16 11:32:44 +08:00
虫子樱桃
ae4dd7f4a8
fix: refactor project creation params process (#2714)
* add http.ResponseController type alias

* refactor:project creation

* Delete codec_go1.20.go

---------

Co-authored-by: czyt <czyt@w.cn>
Co-authored-by: 包子 <baozhecheng@foxmail.com>
2023-03-13 17:01:12 +08:00
Xin
6602dc325e
fix: correct message of CmdServer (#2724) 2023-03-13 15:40:21 +08:00
包子
7eca8f8034
deps: upgrade kratos version to v2.6.1 (#2716) 2023-03-10 00:16:11 +08:00
dependabot[bot]
c65f823c38
build(deps): bump golang.org/x/text in /cmd/protoc-gen-go-errors (#2675)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:16:08 +08:00
180909
e4595db3d8
fix: cmd proto add nil pointer (#2670) 2023-02-23 18:24:52 +08:00
dependabot[bot]
e33d644a78
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 in /cmd/kratos (#2676)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 18:24:27 +08:00
thinkgo
d0b1d84850
feat: add comment to http server interface method (#2657)
Co-authored-by: gogogo <gogogo@aliyun.com>
2023-02-21 18:24:26 +08:00
jerjjj
b242403bc1
update gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b to 3.0.0 (#2630) 2023-01-29 11:36:20 +08:00
虫子樱桃
61744753eb
fix: project creation --nomod (#2611)
Co-authored-by: czyt <czyt@w.cn>
2023-01-10 18:22:19 +08:00
虫子樱桃
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 3d322fe6c13a9e021199ae7261b7adcadac71316.
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