moving stuff around

This commit is contained in:
tsmethurst
2021-06-04 14:39:56 +02:00
parent 1f44b06c06
commit 5d2b69c256
22 changed files with 14 additions and 264 deletions

View File

@ -1,5 +0,0 @@
# 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](../../pkg/mastotypes) package for that.
The annotation used on these structs is for handling them via the go-pg ORM. See [here](https://pg.uptrace.dev/models/).