summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/account.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-15 23:05:24 +0100
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-15 23:05:24 +0100
commit4e281f31b0e0c1410264a99687983f2d309cdd00 (patch)
tree13712ef6c55d7a71fa082fc01ed71013054ed217 /internal/gtsmodel/account.go
parentgo mod tidy (diff)
downloadgotosocial-4e281f31b0e0c1410264a99687983f2d309cdd00.tar.xz
whole buncha stuff
Diffstat (limited to 'internal/gtsmodel/account.go')
-rw-r--r--internal/gtsmodel/account.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/gtsmodel/account.go b/internal/gtsmodel/account.go
index 7cd942ee8..84ba027b2 100644
--- a/internal/gtsmodel/account.go
+++ b/internal/gtsmodel/account.go
@@ -26,10 +26,10 @@ import (
"time"
)
-// GTSAccount represents a GoToSocial user account
-type GTSAccount struct {
- GTSAvatar
- GTSHeader
+// Account represents a GoToSocial user account
+type Account struct {
+ Avatar
+ Header
URI string
URL string
ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"`
@@ -66,7 +66,7 @@ type GTSAccount struct {
SuspensionOrigin int
}
-type GTSAvatar struct {
+type Avatar struct {
AvatarFileName string
AvatarContentType string
AvatarFileSize int
@@ -75,7 +75,7 @@ type GTSAvatar struct {
AvatarStorageSchemaVersion int
}
-type GTSHeader struct {
+type Header struct {
HeaderFileName string
HeaderContentType string
HeaderFileSize int