1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 18:13:54 +08:00

doc: peerset fixme

not changing this because i don't want to write a test for it now

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
Brian Tiger Chow
2014-12-17 00:10:42 -08:00
committed by Juan Batiz-Benet
parent 45faa4d7a0
commit 19764880d8

View File

@ -7,7 +7,7 @@ import (
// PeerSet is a threadsafe set of peers
type PeerSet struct {
ps map[string]bool
ps map[string]bool // FIXME can be map[string]struct{}
lk sync.RWMutex
size int
}