From aabe97048bdfbae5d077b2788a5deb68b03fa06f Mon Sep 17 00:00:00 2001 From: BitHeaven <33015545+BitHeaven-Official@users.noreply.github.com> Date: Tue, 11 Apr 2023 19:38:28 +0500 Subject: [PATCH] Update struct --- main.go | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/main.go b/main.go index 0265aae..2e57230 100644 --- a/main.go +++ b/main.go @@ -27,19 +27,13 @@ type Post struct { FileURL string `json:"file_url"` Directory int `json:"directory"` Hash string `json:"hash"` + Width int `json:"width"` Height int `json:"height"` ID int `json:"id"` Image string `json:"image"` - Change int `json:"change"` - Owner string `json:"owner"` - ParentID int `json:"parent_id"` - Rating string `json:"rating"` - Sample int `json:"sample"` - SampleHeight int `json:"sample_height"` - SampleWidth int `json:"sample_width"` - Score int `json:"score"` - Tags string `json:"tags"` - Width int `json:"width"` + Status string `json:"status"` + HasNotes bool `json:"has_notes"` + CommentCount int `json:"comment_count"` } // SetProxy