From 8ef6ff729ebefdb1bcf2eaa4c9143939aa6c1912 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Tue, 10 Sep 2024 20:08:13 +0200 Subject: [PATCH] Optimized Article struct size --- cmd/backend/articles.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/backend/articles.go b/cmd/backend/articles.go index 832669c..dcc15ea 100644 --- a/cmd/backend/articles.go +++ b/cmd/backend/articles.go @@ -9,18 +9,18 @@ import ( ) type Article struct { - Title string Created time.Time + Title string Description string Link string EncURL string - EncLength int EncType string - Published bool - Rejected bool ID int64 AuthorID int64 IssueID int64 + EncLength int + Published bool + Rejected bool IsInIssue bool AutoGenerated bool }