aboutsummaryrefslogtreecommitdiff
path: root/renderer/model.go
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-28 17:51:00 +0000
committerr <r@freesoftwareextremist.com>2020-01-28 17:58:29 +0000
commit2af37d47783aac8c650ffd1578e2297b5784c73d (patch)
tree7b5c7a4b2fa530285bfaa16324e818d97dd00408 /renderer/model.go
parent57d2a4288b02fd1245ee85ae629649798578cf6c (diff)
downloadbloat-2af37d47783aac8c650ffd1578e2297b5784c73d.tar.gz
bloat-2af37d47783aac8c650ffd1578e2297b5784c73d.zip
Refactor everything
Diffstat (limited to 'renderer/model.go')
-rw-r--r--renderer/model.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 25fa0c6..8df64ab 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -47,9 +47,7 @@ type TimelineData struct {
*CommonData
Title string
Statuses []*mastodon.Status
- HasNext bool
NextLink string
- HasPrev bool
PrevLink string
PostContext model.PostContext
}
@@ -64,7 +62,6 @@ type ThreadData struct {
type NotificationData struct {
*CommonData
Notifications []*mastodon.Notification
- HasNext bool
NextLink string
DarkMode bool
}
@@ -73,7 +70,6 @@ type UserData struct {
*CommonData
User *mastodon.Account
Statuses []*mastodon.Status
- HasNext bool
NextLink string
DarkMode bool
}
@@ -90,28 +86,24 @@ type EmojiData struct {
type LikedByData struct {
*CommonData
Users []*mastodon.Account
- HasNext bool
NextLink string
}
type RetweetedByData struct {
*CommonData
Users []*mastodon.Account
- HasNext bool
NextLink string
}
type FollowingData struct {
*CommonData
Users []*mastodon.Account
- HasNext bool
NextLink string
}
type FollowersData struct {
*CommonData
Users []*mastodon.Account
- HasNext bool
NextLink string
}
@@ -121,7 +113,6 @@ type SearchData struct {
Type string
Users []*mastodon.Account
Statuses []*mastodon.Status
- HasNext bool
NextLink string
}