diff options
author | r <r@freesoftwareextremist.com> | 2021-03-20 05:12:48 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2021-03-28 16:12:41 +0000 |
commit | 6c5de7656257ffd8f2dcc441a313ab9aed97e834 (patch) | |
tree | 6c1291c6517c3a0e5b0318232b13445900c0ef24 /renderer | |
parent | 6ddcb16694424ec5da9311d81388676e55700290 (diff) | |
download | bloat-6c5de7656257ffd8f2dcc441a313ab9aed97e834.tar.gz bloat-6c5de7656257ffd8f2dcc441a313ab9aed97e834.zip |
Refactor
Diffstat (limited to 'renderer')
-rw-r--r-- | renderer/model.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/renderer/model.go b/renderer/model.go index aed444a..6b27998 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -17,12 +17,6 @@ type Context struct { Referrer string } -type NavData struct { - CommonData *CommonData - User *mastodon.Account - PostContext model.PostContext -} - type CommonData struct { Title string CustomCSS string @@ -32,6 +26,12 @@ type CommonData struct { Target string } +type NavData struct { + CommonData *CommonData + User *mastodon.Account + PostContext model.PostContext +} + type ErrorData struct { *CommonData Error string |