fix: Make CreatedAt field a pointer in Message struct
This commit is contained in:
parent
750c30a674
commit
3f6d45f900
@ -17,7 +17,7 @@ import (
|
|||||||
type Message struct {
|
type Message struct {
|
||||||
Title string
|
Title string
|
||||||
Body string
|
Body string
|
||||||
CreatedAt timestamppb.Timestamp
|
CreatedAt *timestamppb.Timestamp
|
||||||
}
|
}
|
||||||
|
|
||||||
type TaskExecution func(ctx context.Context, userSource models.UserSource, deepScrape bool, apiKey string, cancelFunction func()) error
|
type TaskExecution func(ctx context.Context, userSource models.UserSource, deepScrape bool, apiKey string, cancelFunction func()) error
|
||||||
|
Loading…
Reference in New Issue
Block a user