Merge remote-tracking branch 'master/master' into pr/1

# Conflicts:
#	go.mod
This commit is contained in:
tolantop 2020-03-04 11:19:13 +03:00
commit fcb4411c18
4 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,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