package
0.0.0-20230214151938-ae37f1ccbf19
Repository: https://github.com/guillemxanxo/go_tools.git
Documentation: pkg.go.dev
# Functions
Dedupe converts a Subscription that may send duplicate Items into one that doesn't.
Fetch returns a Fetcher for Items from domain.
Merge returns a Subscription that merges the item streams from subs.
NaiveDedupe converts a stream of Items that may contain duplicates into one that doesn't.
No description provided by the author
Subscribe returns a new Subscription that uses fetcher to fetch Items.
# Variables
FakeDuplicates causes the fake fetcher to return duplicate items.
# Interfaces
A Fetcher fetches Items and returns the time when the next fetch should be attempted.
A Subscription delivers Items over a channel.