1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-05 19:27:05 +00:00

Update to 5.0.4 - Read HISTORY.md

This commit is contained in:
Gerasimos (Makis) Maropoulos
2016-12-12 12:18:59 +02:00
parent 424ede7258
commit 309b037e3b
11 changed files with 204 additions and 240 deletions

View File

@@ -7,21 +7,6 @@ import (
"strings"
)
var workingDir string
func getWorkingDir() string {
if workingDir == "" {
errUnableToGetWD := errors.New(Name + ": Unable to get working directory, %s")
// set the current working dir
d, err := os.Getwd()
if err != nil {
panic(errUnableToGetWD.Format(err))
}
workingDir = d
}
return workingDir
}
var goPath string
// returns the (last) gopath+"/src/"