parent
422fe9c097
commit
93068ddae5
2 changed files with 19 additions and 0 deletions
14
types.go
14
types.go
|
|
@ -23,6 +23,7 @@ type (
|
|||
Likes int
|
||||
PermanentURL string
|
||||
Photos []string
|
||||
Place *Place
|
||||
QuotedStatus *Tweet
|
||||
Replies int
|
||||
Retweets int
|
||||
|
|
@ -74,6 +75,19 @@ type (
|
|||
Verified bool `json:"verified"`
|
||||
}
|
||||
|
||||
Place struct {
|
||||
ID string `json:"id"`
|
||||
PlaceType string `json:"place_type"`
|
||||
Name string `json:"name"`
|
||||
FullName string `json:"full_name"`
|
||||
CountryCode string `json:"country_code"`
|
||||
Country string `json:"country"`
|
||||
BoundingBox struct {
|
||||
Type string `json:"type"`
|
||||
Coordinates [][][]float64 `json:"coordinates"`
|
||||
} `json:"bounding_box"`
|
||||
}
|
||||
|
||||
fetchProfileFunc func(query string, maxProfilesNbr int, cursor string) ([]*Profile, string, error)
|
||||
fetchTweetFunc func(query string, maxTweetsNbr int, cursor string) ([]*Tweet, string, error)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue