Moved to zerolog, linting fixes, update Drone configuration.

This commit is contained in:
2021-11-21 16:16:10 +05:00
parent c6c3e2e76f
commit 46aee4d2ab
27 changed files with 258 additions and 169 deletions

View File

@@ -17,14 +17,15 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
package slackmessage
// nolint:tagliatelle
type SlackMessage struct {
Channel string `json:"channel"`
Text string `json:"text"`
Username string `json:"username"`
IconURL string `json:"icon_url"`
Attachments []SlackAttachments `json:"attachments"`
UnfurlLinks int `json:"unfurl_links"`
LinkNames int `json:"link_names"`
Attachments []SlackAttachments `json:"attachments"`
}
type SlackAttachments struct {