Update struct

This commit is contained in:
BitHeaven 2023-04-11 19:38:28 +05:00 committed by GitHub
parent 8c247ff1c1
commit aabe97048b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 10 deletions

14
main.go
View File

@ -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