Style: code style

This commit is contained in:
Dreamacro
2021-06-10 14:05:56 +08:00
parent 0778591524
commit 045edc188c
59 changed files with 207 additions and 220 deletions

View File

@@ -8,7 +8,7 @@ import (
"strings"
"time"
adapters "github.com/Dreamacro/clash/adapters/inbound"
"github.com/Dreamacro/clash/adapter/inbound"
"github.com/Dreamacro/clash/common/cache"
"github.com/Dreamacro/clash/component/auth"
"github.com/Dreamacro/clash/log"
@@ -106,9 +106,9 @@ keepAlive:
conn.Close()
return
}
tunnel.Add(adapters.NewHTTPS(request, conn))
tunnel.Add(inbound.NewHTTPS(request, conn))
return
}
tunnel.Add(adapters.NewHTTP(request, conn))
tunnel.Add(inbound.NewHTTP(request, conn))
}