mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2024-12-26 23:30:32 +08:00
517a48433f
1. Remove duplicate import. 2. Lift empty check to simplify code. 3. Use a more efficient map key (go will optimize this to not allocate). |
||
---|---|---|
.. | ||
addr_book_gc_test.go | ||
addr_book_gc.go | ||
addr_book.go | ||
cache.go | ||
cyclic_batch.go | ||
ds_test.go | ||
keybook.go | ||
metadata.go | ||
peerstore.go | ||
protobook.go |