kratos icon indicating copy to clipboard operation
kratos copied to clipboard

feat(cmd): add module name for command new

Open 180909 opened this issue 1 year ago • 2 comments

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:

180909 avatar Sep 03 '22 14:09 180909

Codecov Report

Merging #2357 (e79e44a) into main (617ee1a) will increase coverage by 0.05%. The diff coverage is n/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.

codecov-commenter avatar Sep 03 '22 14:09 codecov-commenter

这样的gomod文件也是有效的 @180909

// 测试
module app

可以参考下Google的官方包来解析gomod文件 https://pkg.go.dev/golang.org/x/mod/modfile#pkg-overview

czyt avatar Sep 20 '22 04:09 czyt