ac48192562
* don't drop all vote counts if hideCounts is set, refactors poll option extraction slightly * omit voters_count when not set * make voters_count a ptr to ensure it is omit unless definitely needed * handle case of expires_at, voters_count and option.votes_count being nilable * faster isNil check * remove omitempty tags since mastodon API marks things as nullable but still sets them in outgoing json |
||
---|---|---|
.. | ||
activitypub | ||
auth | ||
client | ||
fileserver | ||
metrics | ||
model | ||
nodeinfo | ||
util | ||
wellknown | ||
activitypub.go | ||
auth.go | ||
client.go | ||
fileserver.go | ||
metrics.go | ||
nodeinfo.go | ||
wellknown.go |