diff options
| author | Guillermo Serrahima <dev@vylion.com> | 2026-02-19 14:28:11 +0100 |
|---|---|---|
| committer | Guillermo Serrahima <dev@vylion.com> | 2026-02-19 14:28:11 +0100 |
| commit | 28b85457710129b2d971fd42a3af38b372d99ad9 (patch) | |
| tree | 4f5d5a1e62bf8f366b43486df69c8f24dcd8a765 | |
| parent | 8f39d3c036588782f36d5ff90ce2839fd75fa496 (diff) | |
| download | llostre-28b85457710129b2d971fd42a3af38b372d99ad9.tar.xz llostre-28b85457710129b2d971fd42a3af38b372d99ad9.zip | |
added json tags for marshaling
| -rw-r--r-- | backend/notes/app.bsky.feed.post.go | 12 |
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 { |
