Documentation ¶ Index ¶ type Tweet func (t *Tweet) String() string type User func (u *User) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Tweet ¶ type Tweet struct { ID int64 `json:"id"` CreatedAt string `json:"created_at"` User *User `json:"user"` Text string `json:"text"` RetweetCount int `json:"retweet_count"` } Tweet define a tweet func (*Tweet) String ¶ func (t *Tweet) String() string String stringify the Tweet struct type User ¶ type User struct { ScreenName string `json:"screen_name"` } User define a user func (*User) String ¶ func (u *User) String() string String stringify the User struct Source Files ¶ View all Source files Tweet.goUser.go Click to show internal directories. Click to hide internal directories.