From 361eb4d23527abdbbc0d15946d14282107844c1e Mon Sep 17 00:00:00 2001 From: shinriyo Date: Thu, 14 May 2015 14:36:46 +0900 Subject: [PATCH] ERROR message is strange Web cant't create directory "$GOPATH" $GOPATH/src is correct --- new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new.go b/new.go index 3f6a952..cd4acb2 100644 --- a/new.go +++ b/new.go @@ -93,7 +93,7 @@ func createApp(cmd *Command, args []string) int { } if !haspath { - ColorLog("[ERRO] Unable to create an application outside of $GOPATH(%s)\n", gopath) + ColorLog("[ERRO] Unable to create an application outside of $GOPATH%ssrc(%s%ssrc)\n", string(path.Separator), gopath, string(path.Separator) ColorLog("[HINT] Change your work directory by `cd ($GOPATH%ssrc)`\n", string(path.Separator)) os.Exit(2) }