kratos
kratos copied to clipboard
feat(cmd): add module name for command new
Description (what this PR does / why we need it):
Which issue(s) this PR fixes (resolves / be part of):
fixes: #2355
Other special notes for the reviewers:
Codecov Report
Merging #2357 (e79e44a) into main (617ee1a) will increase coverage by
0.05%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## main #2357 +/- ##
==========================================
+ Coverage 85.21% 85.27% +0.05%
==========================================
Files 88 88
Lines 3775 3775
==========================================
+ Hits 3217 3219 +2
+ Misses 393 391 -2
Partials 165 165
Impacted Files | Coverage Δ | |
---|---|---|
internal/context/context.go | 100.00% <0.00%> (+2.98%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
这样的gomod文件也是有效的 @180909
// 测试
module app
可以参考下Google的官方包来解析gomod文件 https://pkg.go.dev/golang.org/x/mod/modfile#pkg-overview