diff --git a/examples/pins/pins.go b/examples/pins/pins.go index 5c4f67c22..55158cb33 100644 --- a/examples/pins/pins.go +++ b/examples/pins/pins.go @@ -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 diff --git a/messages.go b/messages.go index e0c45ab25..13a1ede98 100644 --- a/messages.go +++ b/messages.go @@ -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"`