Switching to modules, removed vendored dependencies, linting with golangci-lint.

This commit is contained in:
2019-12-15 22:17:01 +05:00
parent d33062598e
commit 6b519c31a0
859 changed files with 315 additions and 336708 deletions

View File

@@ -18,18 +18,18 @@
package slackmessage
type SlackMessage struct {
Channel string `json:"channel"`
Text string `json:"text"`
Username string `json:"username"`
IconURL string `json:"icon_url"`
UnfurlLinks int `json:"unfurl_links"`
LinkNames int `json:"link_names"`
Attachments []SlackAttachments `json:"attachments"`
Channel string `json:"channel"`
Text string `json:"text"`
Username string `json:"username"`
IconURL string `json:"icon_url"`
UnfurlLinks int `json:"unfurl_links"`
LinkNames int `json:"link_names"`
Attachments []SlackAttachments `json:"attachments"`
}
type SlackAttachments struct {
Fallback string `json:"fallback"`
Color string `json:"color"`
Title string `json:"title"`
Text string `json:"text"`
Fallback string `json:"fallback"`
Color string `json:"color"`
Title string `json:"title"`
Text string `json:"text"`
}