GoToSocial/internal/gtsmodel
Tobi Smethurst 40add68691
Notifications (#34)
Notifications working for:

* Mentions
* Faves
* New follow requests
* New followers
2021-05-27 16:06:24 +02:00
..
README.md Ap (#14) 2021-05-08 14:25:55 +02:00
account.go Follows and relationships (#27) 2021-05-21 15:48:26 +02:00
activitystreams.go Follows and relationships (#27) 2021-05-21 15:48:26 +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 Notifications (#34) 2021-05-27 16:06:24 +02:00
poll.go 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

README.md

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.