gotosocial/internal/gtsmodel
Tobi Smethurst 3363e0ebdd
add api/v1/instance info handler + instance model (#18)
2021-05-09 14:06:06 +02:00
..
README.md Ap (#14) 2021-05-08 14:25:55 +02:00
account.go Ap (#14) 2021-05-08 14:25:55 +02:00
activitystreams.go Ap (#14) 2021-05-08 14:25:55 +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 add api/v1/instance info handler + instance model (#18) 2021-05-09 14:06:06 +02:00
mediaattachment.go Ap (#14) 2021-05-08 14:25:55 +02:00
mention.go Ap (#14) 2021-05-08 14:25:55 +02:00
poll.go Ap (#14) 2021-05-08 14:25:55 +02:00
status.go status boosts (#16) 2021-05-08 15:16:24 +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
statuspin.go Ap (#14) 2021-05-08 14:25:55 +02:00
tag.go Ap (#14) 2021-05-08 14:25:55 +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.