From 2b2e893679ddbc7874e45e5a6bff88d999cf6180 Mon Sep 17 00:00:00 2001 From: Naoki Kanatani Date: Thu, 13 Apr 2023 14:44:03 +0900 Subject: [PATCH] gofmt --- examples/pins/pins.go | 4 +--- messages.go | 8 ++++---- 2 files changed, 5 insertions(+), 7 deletions(-) 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"`