libp2p / go-libp2p-core

Interfaces and abstractions that make up go-libp2p
Other
145 stars 75 forks source link

remove the peer.Set #261

Closed marten-seemann closed 2 years ago

marten-seemann commented 2 years ago

See https://github.com/libp2p/go-libp2p-core/issues/260#issuecomment-1160548173 for motivation. In addition, this code was completely untested. Yet one more reason to nuke it.

Closes #260.

github-actions[bot] commented 2 years ago

gocompat says:

branch 'master' set up to track 'origin/master'.
"github.com/libp2p/go-libp2p-core/peer".NewSet TopLevelDeclarationDeleted
"github.com/libp2p/go-libp2p-core/peer".Set TopLevelDeclarationDeleted
"github.com/libp2p/go-libp2p-core/peer".NewLimitedSet TopLevelDeclarationDeleted