1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-25 13:57:04 +00:00

update dependencies

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-09-15 12:09:23 +03:00
parent a03373ac2b
commit f67b42fdee
7 changed files with 111 additions and 66 deletions

View File

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