refactor (#49)
* rebase upstream * rebase * trim no need line * trim no need line * trim no need line * refactor gomod module logic Co-authored-by: kingxt <dream4kingxt@163.com>
This commit is contained in:
@@ -28,6 +28,7 @@ type (
|
||||
|
||||
GoMod struct {
|
||||
Module string
|
||||
Path string
|
||||
}
|
||||
)
|
||||
|
||||
@@ -110,6 +111,7 @@ func Prepare(projectDir string, checkGrpcEnv bool) (*Project, error) {
|
||||
Path: path,
|
||||
GoMod: GoMod{
|
||||
Module: module,
|
||||
Path: goMod,
|
||||
},
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user