gotosocial/internal/gtsmodel
Tobi Smethurst 3d77f81c7f
Move a lot of stuff + tidy stuff (#37)
Lots of renaming and moving stuff, some bug fixes, more lenient parsing of notifications and home timeline.
2021-05-30 13:12:00 +02:00
..
account.go Announce/boost (#35) 2021-05-28 19:57:04 +02:00
activitystreams.go Announce/boost (#35) 2021-05-28 19:57:04 +02:00
application.go Ap (#14) 2021-05-08 14:25:55 +02:00
block.go Ap (#14) 2021-05-08 14:25:55 +02:00
domainblock.go Ap (#14) 2021-05-08 14:25:55 +02:00
emaildomainblock.go Ap (#14) 2021-05-08 14:25:55 +02:00
emoji.go Ap (#14) 2021-05-08 14:25:55 +02:00
follow.go Ap (#14) 2021-05-08 14:25:55 +02:00
followrequest.go Ap (#14) 2021-05-08 14:25:55 +02:00
instance.go small fiddling to allow whalebird to work (a bit) 2021-05-22 15:51:20 +02:00
mediaattachment.go Ap (#14) 2021-05-08 14:25:55 +02:00
mention.go Follows and relationships (#27) 2021-05-21 15:48:26 +02:00
messages.go Follows and relationships (#27) 2021-05-21 15:48:26 +02:00
notification.go Move a lot of stuff + tidy stuff (#37) 2021-05-30 13:12:00 +02:00
poll.go Ap (#14) 2021-05-08 14:25:55 +02:00
README.md Ap (#14) 2021-05-08 14:25:55 +02:00
relationship.go Follows and relationships (#27) 2021-05-21 15:48:26 +02:00
status.go Notifications (#34) 2021-05-27 16:06:24 +02:00
statusbookmark.go Ap (#14) 2021-05-08 14:25:55 +02:00
statusfave.go Faves (#31) 2021-05-24 18:49:48 +02:00
statusmute.go Ap (#14) 2021-05-08 14:25:55 +02:00
tag.go Inbox post (#22) 2021-05-15 11:58:11 +02:00
user.go Ap (#14) 2021-05-08 14:25:55 +02:00

gtsmodel

This package contains types used internally by GoToSocial and added/removed/selected from the database. As such, they contain sensitive fields which should never be serialized or reach the API level. Use the mastotypes package for that.

The annotation used on these structs is for handling them via the go-pg ORM. See here.