Fix missing item.text
This commit is contained in:
parent
f911f10822
commit
c80f0060c3
2
items.go
2
items.go
@ -11,6 +11,7 @@ type Item struct {
|
|||||||
ParentId int `json:"parentId"`
|
ParentId int `json:"parentId"`
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
Url string `json:"url"`
|
Url string `json:"url"`
|
||||||
|
Text string `json:"text"`
|
||||||
Sats int `json:"sats"`
|
Sats int `json:"sats"`
|
||||||
CreatedAt time.Time `json:"createdAt"`
|
CreatedAt time.Time `json:"createdAt"`
|
||||||
Comments []Comment `json:"comments"`
|
Comments []Comment `json:"comments"`
|
||||||
@ -197,6 +198,7 @@ func (c *Client) Items(query *ItemsQuery) (*ItemsCursor, error) {
|
|||||||
deletedAt
|
deletedAt
|
||||||
title
|
title
|
||||||
url
|
url
|
||||||
|
text
|
||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user