Skip to content

Commit

Permalink
Merge pull request #1194 from slack-go/fix-lintter-error
Browse files Browse the repository at this point in the history
gofmt
  • Loading branch information
kanata2 authored Apr 13, 2023
2 parents 58c5a5f + 2b2e893 commit 646e50d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions examples/pins/pins.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import (
"github.com/slack-go/slack"
)

/*
WARNING: This example is destructive in the sense that it create a channel called testpinning
*/
// WARNING: This example is destructive in the sense that it create a channel called testpinning
func main() {
var (
apiToken string
Expand Down
8 changes: 4 additions & 4 deletions messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ type Msg struct {
Members []string `json:"members,omitempty"`

// channels.replies, groups.replies, im.replies, mpim.replies
ReplyCount int `json:"reply_count,omitempty"`
ReplyCount int `json:"reply_count,omitempty"`
ReplyUsers []string `json:"reply_users,omitempty"`
Replies []Reply `json:"replies,omitempty"`
ParentUserId string `json:"parent_user_id,omitempty"`
LatestReply string `json:"latest_reply,omitempty"`
Replies []Reply `json:"replies,omitempty"`
ParentUserId string `json:"parent_user_id,omitempty"`
LatestReply string `json:"latest_reply,omitempty"`

// file_share, file_comment, file_mention
Files []File `json:"files,omitempty"`
Expand Down

0 comments on commit 646e50d

Please sign in to comment.