]> Sergey Matveev's repositories - btrtrc.git/blobdiff - go.mod
Apply some lints from GoLand
[btrtrc.git] / go.mod
diff --git a/go.mod b/go.mod
index f8e574feabdb2243fc125f363345e55fcdc38bb4..673aedc9230d029a09e7ede4e2e01fb90f352c0b 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -1,5 +1,7 @@
 module github.com/anacrolix/torrent
 
+go 1.17
+
 require (
        bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512
        crawshaw.io/sqlite v0.3.3-0.20210127221821-98b1f83c5508
@@ -29,6 +31,7 @@ require (
        github.com/frankban/quicktest v1.13.1
        github.com/fsnotify/fsnotify v1.5.1
        github.com/google/btree v1.0.1
+       github.com/google/go-cmp v0.5.6
        github.com/gorilla/websocket v1.4.2
        github.com/jessevdk/go-flags v1.5.0
        github.com/pion/datachannel v1.4.21
@@ -44,7 +47,6 @@ require (
        golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
        golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e // indirect
        golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
-       golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
 )
 
 require (
@@ -53,7 +55,6 @@ require (
        github.com/anacrolix/stm v0.3.0 // indirect
        github.com/benbjohnson/immutable v0.3.0 // indirect
        github.com/bits-and-blooms/bitset v1.2.0 // indirect
-       github.com/google/go-cmp v0.5.6 // indirect
        github.com/google/uuid v1.3.0 // indirect
        github.com/huandu/xstrings v1.3.2 // indirect
        github.com/kr/pretty v0.3.0 // indirect
@@ -78,14 +79,12 @@ require (
        github.com/willf/bitset v1.1.11 // indirect
        github.com/willf/bloom v2.0.3+incompatible // indirect
        golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
+       golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
        gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
 )
 
-go 1.17
-
 exclude (
        bazil.org/fuse v0.0.0-20200419173433-3ba628eaf417
        bazil.org/fuse v0.0.0-20200524192727-fb710f7dfd05
+       github.com/willf/bitset v1.2.0
 )
-
-exclude github.com/willf/bitset v1.2.0