Open vincentLiuxiang opened 8 years ago
moreover, I think you should check if the system has set env GOPATH, or you can't get os.Getenv("GOPATH").
eg:
gopath := os.Getenv("GOPATH")
if gopath == "" {
panic(`System doesn't set env GOPATH, please set the env variable`)
return
}
@vincentLiuxiang Yes,you say right, i will add it .
IndexNames should open to user, just like: Static := static.New("/src/octopus-open/dist/","index.html")