mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 11:46:40 +00:00
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 |
||
---|---|---|
.. | ||
astointernal.go | ||
astointernal_test.go | ||
converter.go | ||
converter_test.go | ||
defaulticons.go | ||
frontendtointernal.go | ||
internal.go | ||
internaltoas.go | ||
internaltoas_test.go | ||
internaltofrontend.go | ||
internaltofrontend_test.go | ||
internaltorss.go | ||
internaltorss_test.go | ||
util.go | ||
util_test.go | ||
wrap.go | ||
wrap_test.go |