Skip to content

Commit

Permalink
Fix GoDoc grammers
Browse files Browse the repository at this point in the history
  • Loading branch information
kanata2 committed Aug 22, 2022
1 parent ddd0ac3 commit 6e74103
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dialog_text.go
Expand Up @@ -18,7 +18,7 @@ const (
)

// TextInputElement subtype of DialogInput
// https://api.slack.com/dialogs#option_element_attributes#text_element_attributes
// https://api.slack.com/dialogs#option_element_attributes#text_element_attributes
type TextInputElement struct {
DialogInput
MaxLength int `json:"max_length,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion internal/backoff/backoff.go
Expand Up @@ -51,7 +51,7 @@ func (b *Backoff) Duration() (dur time.Duration) {
return dur
}

//Resets the current value of the counter back to Min
// Resets the current value of the counter back to Min
func (b *Backoff) Reset() {
b.attempts = 0
}
Expand Down
2 changes: 1 addition & 1 deletion socketmode/request.go
Expand Up @@ -6,7 +6,7 @@ import "encoding/json"
//
// We call this a "request" rather than e.g. a WebSocket message or an Socket Mode "event" following python-slack-sdk:
//
// https://github.com/slackapi/python-slack-sdk/blob/3f1c4c6e27bf7ee8af57699b2543e6eb7848bcf9/slack_sdk/socket_mode/request.py#L6
// https://github.com/slackapi/python-slack-sdk/blob/3f1c4c6e27bf7ee8af57699b2543e6eb7848bcf9/slack_sdk/socket_mode/request.py#L6
//
// We know that node-slack-sdk calls it an "event", that makes it hard for us to distinguish our client's own event
// that wraps both internal events and Socket Mode "events", vs node-slack-sdk's is for the latter only.
Expand Down

0 comments on commit 6e74103

Please sign in to comment.