diff --git a/handlers/event/event.go b/handlers/event/event.go index 86b31aa..f068f67 100644 --- a/handlers/event/event.go +++ b/handlers/event/event.go @@ -1,6 +1,8 @@ package event import ( + "fmt" + "git.grassecon.net/grassrootseconomics/sarafu-api/remote" ) @@ -12,5 +14,8 @@ type EventsHandler struct { func NewEventsHandler(api remote.AccountService) *EventsHandler { return &EventsHandler{ api: api, + formatFunc: func(tag string, i int, o any) string { + return fmt.Sprintf("%d %v", i, o) + }, } }