parent
502d58953e
commit
0533b6e909
3 changed files with 40 additions and 0 deletions
10
types.go
10
types.go
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue