route support no request and response (#178)
* add more test and support no request and response * fix slash when run on windows * optimize test
This commit is contained in:
@@ -118,7 +118,7 @@ func Prepare(projectDir string, checkGrpcEnv bool) (*Project, error) {
|
||||
return &Project{
|
||||
Name: name,
|
||||
Path: path,
|
||||
Package: pkg,
|
||||
Package: strings.ReplaceAll(pkg, `\`, "/"),
|
||||
IsInGoEnv: isInGoEnv,
|
||||
GoMod: GoMod{
|
||||
Module: module,
|
||||
|
||||
Reference in New Issue
Block a user