11 lines
291 B
Go
11 lines
291 B
Go
package anaconda
|
|
|
|
import (
|
|
"net/url"
|
|
)
|
|
|
|
func (a TwitterApi) GetFavorites(v url.Values) (favorites []Tweet, err error) {
|
|
response_ch := make(chan response)
|
|
a.queryQueue <- query{a.baseUrl + "/favorites/list.json", v, &favorites, _GET, response_ch}
|
|
return favorites, (<-response_ch).err
|
|
}
|