applying this pattern to all function arguments

1. context
2. config (if any)
3. channel it reads from
...
N. (last) the forward function
This commit is contained in:
pippellia-btc
2025-09-19 16:15:02 +02:00
parent 815e79282f
commit 8ff738ce09
5 changed files with 16 additions and 16 deletions

View File

@@ -158,8 +158,8 @@ func fetch(ctx context.Context, config FetcherConfig, pubkeys []string) ([]*nost
func FetcherDB(
ctx context.Context,
config FetcherConfig,
store nastro.Store,
pubkeys <-chan string,
store nastro.Store,
forward Forward[*nostr.Event],
) {
log.Println("FetcherDB: ready")