gotosocial/internal/db/model
2021-03-25 23:33:13 +01:00
..
account.go comments 2021-03-25 20:08:04 +01:00
application.go plodding away on the accounts endpoint 2021-03-23 22:13:01 +01:00
domainblock.go add domain blocks 2021-03-25 23:33:13 +01:00
emaildomainblock.go add domain blocks 2021-03-25 23:33:13 +01:00
follow.go comments 2021-03-25 20:08:04 +01: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 plodding away on the accounts endpoint 2021-03-23 22:13:01 +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.