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
|
// GetTweets returns channel with tweets for a given user
|
||||||
func GetTweets(user string, pages int) <-chan *Result {
|
func GetTweets(user string, pages int) <-chan *Result {
|
||||||
channel := make(chan *Result, 0)
|
channel := make(chan *Result)
|
||||||
go func(user string) {
|
go func(user string) {
|
||||||
defer close(channel)
|
defer close(channel)
|
||||||
var lastTweetID string
|
var lastTweetID string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue