aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Serrahima <dev@vylion.com>2026-02-19 14:28:11 +0100
committerGuillermo Serrahima <dev@vylion.com>2026-02-19 14:28:11 +0100
commit28b85457710129b2d971fd42a3af38b372d99ad9 (patch)
tree4f5d5a1e62bf8f366b43486df69c8f24dcd8a765
parent8f39d3c036588782f36d5ff90ce2839fd75fa496 (diff)
downloadllostre-28b85457710129b2d971fd42a3af38b372d99ad9.tar.xz
llostre-28b85457710129b2d971fd42a3af38b372d99ad9.zip
added json tags for marshaling
-rw-r--r--backend/notes/app.bsky.feed.post.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/backend/notes/app.bsky.feed.post.go b/backend/notes/app.bsky.feed.post.go
index 21256be..b84594a 100644
--- a/backend/notes/app.bsky.feed.post.go
+++ b/backend/notes/app.bsky.feed.post.go
@@ -7,12 +7,12 @@ import (
)
type AppBskyFeedPostNote struct {
- URI string
- AuthorDID string
- AuthorHandle string
- Text string
- CreatedAt time.Time
- ReplyTo *string
+ URI string `json:"uri"`
+ AuthorDID string `json:"authorDid"`
+ AuthorHandle string `json:"authorHandle"`
+ Text string `json:"text"`
+ CreatedAt time.Time `json:"createdAt"`
+ ReplyTo *string `json:"replyTo,omitempty"`
}
type AppBskyFeedPostRecord struct {