mirror of
https://github.com/glanceapp/glance.git
synced 2025-02-13 08:59:33 +01:00
Don't parse unused fields
This commit is contained in:
parent
0a55c12f4f
commit
5105ebb870
@ -7,20 +7,13 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type lobstersPostResponseJson struct {
|
type lobstersPostResponseJson struct {
|
||||||
ShortID string `json:"short_id"`
|
CreatedAt string `json:"created_at"`
|
||||||
ShortIDURL string `json:"short_id_url"`
|
Title string `json:"title"`
|
||||||
CreatedAt string `json:"created_at"`
|
URL string `json:"url"`
|
||||||
Title string `json:"title"`
|
Score int `json:"score"`
|
||||||
URL string `json:"url"`
|
CommentCount int `json:"comment_count"`
|
||||||
Score int `json:"score"`
|
CommentsURL string `json:"comments_url"`
|
||||||
Flags int `json:"flags"`
|
Tags []string `json:"tags"`
|
||||||
CommentCount int `json:"comment_count"`
|
|
||||||
Description string `json:"description"`
|
|
||||||
DescriptionPlain string `json:"description_plain"`
|
|
||||||
CommentsURL string `json:"comments_url"`
|
|
||||||
SubmitterUser string `json:"submitter_user"`
|
|
||||||
UserIsAuthor bool `json:"user_is_author"`
|
|
||||||
Tags []string `json:"tags"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type lobstersFeedResponseJson []lobstersPostResponseJson
|
type lobstersFeedResponseJson []lobstersPostResponseJson
|
||||||
|
Loading…
Reference in New Issue
Block a user