From ca155dc0183a245ba613449cf4f5726f1376c5be Mon Sep 17 00:00:00 2001 From: Alexander Sheiko Date: Fri, 14 Feb 2020 16:21:20 +0200 Subject: [PATCH] minor fix --- tweets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweets.go b/tweets.go index c50705e..99e1012 100644 --- a/tweets.go +++ b/tweets.go @@ -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