diff options
Diffstat (limited to 'matterhook/matterhook.go')
-rw-r--r-- | matterhook/matterhook.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/matterhook/matterhook.go b/matterhook/matterhook.go index 9287baa9..f602ed44 100644 --- a/matterhook/matterhook.go +++ b/matterhook/matterhook.go @@ -41,9 +41,9 @@ type IMessage struct { Timestamp string `schema:"timestamp"` UserID string `schema:"user_id"` UserName string `schema:"user_name"` - PostId string `schema:"post_id"` + PostId string `schema:"post_id"` //nolint:golint RawText string `schema:"raw_text"` - ServiceId string `schema:"service_id"` + ServiceId string `schema:"service_id"` //nolint:golint Text string `schema:"text"` TriggerWord string `schema:"trigger_word"` FileIDs string `schema:"file_ids"` @@ -51,7 +51,8 @@ type IMessage struct { // Client for Mattermost. type Client struct { - Url string // URL for incoming webhooks on mattermost. + // URL for incoming webhooks on mattermost. + Url string // nolint:golint In chan IMessage Out chan OMessage httpclient *http.Client |