From 1e975834ca6d0b32560f1c4aa73d1c3f3ca79994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Mon, 1 Jun 2026 17:48:25 +0800 Subject: [PATCH] Reformat code --- redirect_nftables_rules.go | 3 +-- redirect_route_linux.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/redirect_nftables_rules.go b/redirect_nftables_rules.go index 1b9af3c..dddd9c6 100644 --- a/redirect_nftables_rules.go +++ b/redirect_nftables_rules.go @@ -11,9 +11,8 @@ import ( "github.com/sagernet/nftables/expr" "github.com/sagernet/nftables/userdata" "github.com/sagernet/sing/common" - "github.com/sagernet/sing/common/ranges" - E "github.com/sagernet/sing/common/exceptions" + "github.com/sagernet/sing/common/ranges" "golang.org/x/exp/slices" "golang.org/x/sys/unix" diff --git a/redirect_route_linux.go b/redirect_route_linux.go index db79cac..7e0868c 100644 --- a/redirect_route_linux.go +++ b/redirect_route_linux.go @@ -8,9 +8,9 @@ import ( "net/netip" "github.com/sagernet/netlink" - E "github.com/sagernet/sing/common/exceptions" "github.com/sagernet/sing/common" "github.com/sagernet/sing/common/control" + E "github.com/sagernet/sing/common/exceptions" "golang.org/x/sys/unix" )