minor fix
This commit is contained in:
parent
b6c9f13be2
commit
ca155dc018
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ type Result struct {
|
|||
|
||||
// GetTweets returns channel with tweets for a given user
|
||||
func GetTweets(user string, pages int) <-chan *Result {
|
||||
channel := make(chan *Result, 0)
|
||||
channel := make(chan *Result)
|
||||
go func(user string) {
|
||||
defer close(channel)
|
||||
var lastTweetID string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue