From c085194507e9630284ede5c4663c1e3ddcf81dfd Mon Sep 17 00:00:00 2001 From: qiantao Date: Mon, 1 Jun 2020 20:19:31 +0800 Subject: [PATCH] add new fail tips. --- utils/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/utils.go b/utils/utils.go index 6aa2034..b5e230b 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -313,6 +313,7 @@ func Tmpl(text string, data interface{}) { func CheckEnv(appname string) (apppath, packpath string, err error) { gps := GetGOPATHs() if len(gps) == 0 { + beeLogger.Log.Error("if you want new a go module project,please add param `-module=true` and set env `G111MODULE=on`") beeLogger.Log.Fatal("GOPATH environment variable is not set or empty") } currpath, _ := os.Getwd()