From 6aa3424f636b91a37e43722196c700be2b0a1091 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Sun, 19 Apr 2020 03:57:31 -0500 Subject: [PATCH] Fix whitepspace linting error Fix this golangci-lint linting error introduced in #11: `send.go:88: unnecessary leading newline (whitespace)` --- send.go | 1 - 1 file changed, 1 deletion(-) diff --git a/send.go b/send.go index 31eb517..151f76c 100644 --- a/send.go +++ b/send.go @@ -86,7 +86,6 @@ func IsValidInput(webhookMessage MessageCard, webhookURL string) (bool, error) { // IsValidWebhookURL performs validation checks on the webhook URL used to // submit messages to Microsoft Teams. func IsValidWebhookURL(webhookURL string) (bool, error) { - switch { case strings.HasPrefix(webhookURL, WebhookURLOfficecomPrefix): case strings.HasPrefix(webhookURL, WebhookURLOffice365Prefix):