mirror of
https://github.com/aljazceru/crawler_v2.git
synced 2025-12-17 07:24:21 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user