Add retweet info

Close #29
This commit is contained in:
Alexander Sheiko 2021-03-28 12:25:55 +03:00
parent 502d58953e
commit 0533b6e909
3 changed files with 40 additions and 0 deletions

View file

@ -10,6 +10,15 @@ type (
URL string
}
// Retweet type
Retweet struct {
ID string
TimeParsed time.Time
Timestamp int64
UserID string
Username string
}
// Tweet type.
Tweet struct {
Hashtags []string
@ -24,6 +33,7 @@ type (
Photos []string
Replies int
Retweets int
Retweet Retweet
Text string
TimeParsed time.Time
Timestamp int64