Browse Source

Chore: format code (#842)

Loyalsoldier 4 years ago
parent
commit
c80a6df749
2 changed files with 3 additions and 2 deletions
  1. 2 1
      common/antireplay/bloomring.go
  2. 1 1
      proxy/shadowsocks/config.go

+ 2 - 1
common/antireplay/bloomring.go

@@ -1,8 +1,9 @@
 package antireplay
 
 import (
-	ss_bloomring "github.com/v2fly/ss-bloomring"
 	"sync"
+
+	ss_bloomring "github.com/v2fly/ss-bloomring"
 )
 
 type BloomRing struct {

+ 1 - 1
proxy/shadowsocks/config.go

@@ -6,13 +6,13 @@ import (
 	"crypto/cipher"
 	"crypto/md5"
 	"crypto/sha1"
-	"github.com/v2fly/v2ray-core/v4/common/antireplay"
 	"io"
 
 	"golang.org/x/crypto/chacha20poly1305"
 	"golang.org/x/crypto/hkdf"
 
 	"github.com/v2fly/v2ray-core/v4/common"
+	"github.com/v2fly/v2ray-core/v4/common/antireplay"
 	"github.com/v2fly/v2ray-core/v4/common/buf"
 	"github.com/v2fly/v2ray-core/v4/common/crypto"
 	"github.com/v2fly/v2ray-core/v4/common/protocol"