Skip to content

Commit

Permalink
docs(comment): fix documentation links (#451)
Browse files Browse the repository at this point in the history
Co-authored-by: Niko Köser <[email protected]>
  • Loading branch information
hasit and nikoksr authored Nov 12, 2022
1 parent 1478c5a commit 0321d91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/twitter/twitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ type Credentials struct {
AccessTokenSecret string
}

// New returns a new instance of a Slack notification service.
// For more information about slack api token:
// New returns a new instance of a Twitter service.
// For more information about Twitter access token:
//
// -> https://pkg.go.dev/github.com/slack-go/slack#New
// -> https://developer.twitter.com/en/docs/authentication/oauth-1-0a/obtaining-user-access-tokens
func New(credentials Credentials) (*Twitter, error) {
config := oauth1.NewConfig(credentials.ConsumerKey, credentials.ConsumerSecret)
token := oauth1.NewToken(credentials.AccessToken, credentials.AccessTokenSecret)
Expand Down

0 comments on commit 0321d91

Please sign in to comment.