1
0
mirror of https://github.com/beego/bee.git synced 2024-11-26 06:21:34 +00:00

ERROR message is strange

Web cant't create directory "$GOPATH"
$GOPATH/src is correct
This commit is contained in:
shinriyo 2015-05-14 14:36:46 +09:00
parent e23253bc23
commit 361eb4d235

2
new.go
View File

@ -93,7 +93,7 @@ func createApp(cmd *Command, args []string) int {
} }
if !haspath { 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)) ColorLog("[HINT] Change your work directory by `cd ($GOPATH%ssrc)`\n", string(path.Separator))
os.Exit(2) os.Exit(2)
} }