diff --git a/doc/images/wechat.jpg b/doc/images/wechat.jpg index f6a01c94..005112a5 100644 Binary files a/doc/images/wechat.jpg and b/doc/images/wechat.jpg differ diff --git a/tools/goctl/util/project/project.go b/tools/goctl/util/project/project.go index 6d8b33b4..8c470b65 100644 --- a/tools/goctl/util/project/project.go +++ b/tools/goctl/util/project/project.go @@ -62,6 +62,7 @@ func Prepare(projectDir string, checkGrpcEnv bool) (*Project, error) { if err != nil { return nil, err } + goMod = strings.TrimSpace(ret) if goMod == os.DevNull { goMod = ""