mirror of
https://github.com/kataras/iris.git
synced 2025-12-25 13:57:04 +00:00
update dependencies
This commit is contained in:
@@ -41,9 +41,10 @@ func homeDir() (home string) {
|
||||
}
|
||||
|
||||
if home == "" {
|
||||
if runtime.GOOS == "plan9" {
|
||||
switch runtime.GOOS {
|
||||
case "plan9":
|
||||
home = os.Getenv("home")
|
||||
} else if runtime.GOOS == "windows" {
|
||||
case "windows":
|
||||
home = os.Getenv("HOMEDRIVE") + os.Getenv("HOMEPATH")
|
||||
if home == "" {
|
||||
home = os.Getenv("USERPROFILE")
|
||||
|
||||
Reference in New Issue
Block a user