go-libp2p-core/routing
Marten Seemann ea8b36912f
fix staticcheck errors (#191)
* run go mod tidy

* omit receiver name if unused

* remove unused type testkey in tests

* fix duplicate import of go-multiaddr

* fix use of deprecated peer.IDB58{Encode,Decode}

* use bytes.Equal instead of bytes.Compare

* fix unnecessary assigments to blank identifier

* use time.Until instead of t.Sub(time.Now())

* fix use of deprecated go-multihash.ID

* add missing error check in envelope test

* fix error check in tests
2021-03-30 16:13:36 -07:00
..
options.go Absorb go-libp2p abstractions and core types into this module (#1) 2019-05-22 18:31:11 +01:00
query_serde.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
query_test.go Absorb go-libp2p abstractions and core types into this module (#1) 2019-05-22 18:31:11 +01:00
query.go feat: add a function to tell if a context subscribes to query events 2020-04-29 13:11:46 -07:00
routing.go doc(routing): document count 2020-04-09 10:59:58 -07:00