From b99bbfce41f5b78e36373a7164d4a6abd068d17e Mon Sep 17 00:00:00 2001 From: anytls Date: Thu, 20 Feb 2025 17:18:18 +0900 Subject: [PATCH] Format code --- protocol/anytls/inbound.go | 5 +++-- protocol/anytls/outbound.go | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/protocol/anytls/inbound.go b/protocol/anytls/inbound.go index c8f2eacb..89907f1d 100644 --- a/protocol/anytls/inbound.go +++ b/protocol/anytls/inbound.go @@ -5,8 +5,6 @@ import ( "net" "strings" - anytls "github.com/anytls/sing-anytls" - "github.com/anytls/sing-anytls/padding" "github.com/sagernet/sing-box/adapter" "github.com/sagernet/sing-box/adapter/inbound" "github.com/sagernet/sing-box/common/listener" @@ -21,6 +19,9 @@ import ( "github.com/sagernet/sing/common/logger" M "github.com/sagernet/sing/common/metadata" N "github.com/sagernet/sing/common/network" + + anytls "github.com/anytls/sing-anytls" + "github.com/anytls/sing-anytls/padding" ) func RegisterInbound(registry *inbound.Registry) { diff --git a/protocol/anytls/outbound.go b/protocol/anytls/outbound.go index fab06bc3..3a016d2e 100644 --- a/protocol/anytls/outbound.go +++ b/protocol/anytls/outbound.go @@ -5,7 +5,6 @@ import ( "net" "os" - anytls "github.com/anytls/sing-anytls" "github.com/sagernet/sing-box/adapter" "github.com/sagernet/sing-box/adapter/outbound" "github.com/sagernet/sing-box/common/dialer" @@ -17,6 +16,8 @@ import ( M "github.com/sagernet/sing/common/metadata" N "github.com/sagernet/sing/common/network" "github.com/sagernet/sing/common/uot" + + anytls "github.com/anytls/sing-anytls" ) func RegisterOutbound(registry *outbound.Registry) {