refactor: remove unused func/var/methods (#315)

Signed-off-by: Dhruv Jain <92215138+jaydee029@users.noreply.github.com>
This commit is contained in:
Dhruv Jain
2024-04-25 12:16:15 +05:30
committed by GitHub
parent d705c16ced
commit ca4e2c6131
29 changed files with 5 additions and 488 deletions

View File

@@ -21,11 +21,10 @@ var (
// uniqueQueue is the containing type for set-style / unique queues
type uniqueQueue struct {
in <-chan Resource
out chan<- Resource
inBuffer map[Resource]struct{}
exists sync.Map
buffer chan Resource
in <-chan Resource
out chan<- Resource
exists sync.Map
buffer chan Resource
}
// NewUniqueQueue returns a queue for events which ensures that events in the queue are unique