From decb5c661bbff5368966769ff60d7932818fc3a2 Mon Sep 17 00:00:00 2001 From: SoXX Date: Tue, 9 Jul 2024 22:31:18 +0200 Subject: [PATCH] fix: naming convention --- pkg/plug/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plug/server.go b/pkg/plug/server.go index 8784fe8..2f3b236 100644 --- a/pkg/plug/server.go +++ b/pkg/plug/server.go @@ -21,7 +21,7 @@ type Message struct { createdAt *timestamp.Timestamp } -type TaskExecution func(ctx context.Context, database database.OtterSpace, sourceUsername string, anthroveUser models.User, deepScrape bool, apiKey string, cancelFunction func()) error +type TaskExecution func(ctx context.Context, database database.OtterSpace, userSourceUsername string, anthroveUser models.User, deepScrape bool, apiKey string, cancelFunction func()) error type SendMessageExecution func(ctx context.Context, userSourceID string, userSourceUsername string, message string) error type GetMessageExecution func(ctx context.Context, userSourceID string, userSourceUsername string) ([]Message, error)