Merge pull request #113 from shinriyo/patch-1

ERROR message is strange
This commit is contained in:
astaxie 2015-05-14 17:49:58 +08:00
commit 4cecebb2bb
1 changed files with 1 additions and 1 deletions

2
new.go
View File

@ -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)
}