FedP2P/cmd
YenForYang a8db640c62
Drop bradfitz/iter dependency (#605)
* Drop bradfitz/iter dependency

`range iter.N` looks nice and doesn't allocate, but unfortunately using a `range` expression blocks a function from being inlined wherever it's used (for now). It's not that we need inlining in all cases, but I do think a C-style for loop looks just as nice and is probably clearer to the majority. There also aren't any clear disadvantages to changing (unless you just happen to dislike the look of C)

* Update misc_test.go

* Update rlreader_test.go

* Update torrent_test.go

* Update bench_test.go

* Update client_test.go

* Update iplist_test.go

* Update mse_test.go

* Update peerconn_test.go

* Update peerconn.go

* Update order_test.go

* Update decoder_test.go

* Update main.go

* Update bench-piece-mark-complete.go

* Update main.go

* Update torrent.go

* Update iplist_test.go

* Update main.go
2021-09-14 13:46:50 +10:00
..
magnet-metainfo goimports -local 2019-08-21 20:58:40 +10:00
torrent Remove xerrors dependency (#600) 2021-09-13 11:38:08 +10:00
torrent-create ./cmd/torrent-create: Update the builtin announce list 2021-09-02 10:22:32 +10:00
torrent-infohash goimports -local 2019-08-21 20:58:40 +10:00
torrent-magnet Improve metainfo.MetaInfo.Magnet interface and add tests 2021-02-24 12:11:47 +11:00
torrent-metainfo-pprint Drop bradfitz/iter dependency (#605) 2021-09-14 13:46:50 +10:00
torrent-pick Rename Peer to PeerInfo, and unexport PeerInfos 2020-05-29 19:44:48 +10:00
torrent-verify Drop bradfitz/iter dependency (#605) 2021-09-14 13:46:50 +10:00
torrentfs cmd/torrentfs: Fix panic on missing info 2021-08-01 21:38:35 +10:00
tracker-announce Improve cmd/tracker-announce 2020-11-11 15:30:53 +11:00