mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Fix typos + additional comments
This commit is contained in:
parent
ab4eef5170
commit
2a0193046f
@ -45,7 +45,7 @@ func (client *Client) Tweets() []Tweet {
|
||||
|
||||
/* -------------------- Private Functions -------------------- */
|
||||
|
||||
// tweets is the private interface for retrieving the list of user sweets
|
||||
// tweets is the private interface for retrieving the list of user tweets
|
||||
func (client *Client) tweets() (tweets []Tweet, err error) {
|
||||
apiURL := fmt.Sprintf(
|
||||
"%s/statuses/user_timeline.json?screen_name=%s&count=%s",
|
||||
|
@ -12,6 +12,7 @@ func Request(bearerToken string, apiURL string) ([]byte, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Expected authorization format for single-application twitter dev accounts
|
||||
req.Header.Add("Authorization",
|
||||
fmt.Sprintf("Bearer %s", bearerToken))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user