gotosocial/internal/db/model
2021-03-30 16:06:08 +02:00
..
account.go add some more fields 2021-03-28 18:47:02 +02:00
application.go relocate repo 2021-03-27 13:00:22 +01:00
domainblock.go chunking away at it 2021-03-26 19:02:20 +01:00
emaildomainblock.go email block checking for signups 2021-03-25 23:49:29 +01:00
follow.go add notify 2021-03-28 18:47:19 +02:00
followrequest.go add followrequest model 2021-03-28 18:47:12 +02:00
mediaattachment.go media more or less working 2021-03-30 16:06:08 +02:00
README.md plodding away on the accounts endpoint 2021-03-23 22:13:01 +01:00
status.go plodding away on the accounts endpoint 2021-03-23 22:13:01 +01:00
user.go some fiddling with tests 2021-03-26 23:48:21 +01: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.