GoToSocial/internal/gtsmodel
2021-05-22 15:51:20 +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
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 Follows and relationships (#27) 2021-05-21 15:48:26 +02:00
statusbookmark.go Ap (#14) 2021-05-08 14:25:55 +02:00
statusfave.go Ap (#14) 2021-05-08 14:25:55 +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.