diff --git a/main.go b/main.go index 90d50a1..a28befc 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ import ( "github.com/alecthomas/kingpin/v2" ) -const version = "0.6.11" +const version = "0.6.12" //go:embed web var templates embed.FS diff --git a/pkg/notify/notifier/email.go b/pkg/notify/notifier/email.go index 1f7deea..d0fbff5 100644 --- a/pkg/notify/notifier/email.go +++ b/pkg/notify/notifier/email.go @@ -3,9 +3,9 @@ package notifier import ( "context" "fmt" - "heartbeats/pkg/notify/resolver" "heartbeats/pkg/notify/services/email" "heartbeats/pkg/notify/utils" + "heartbeats/pkg/resolver" "time" ) diff --git a/pkg/notify/notifier/msteams.go b/pkg/notify/notifier/msteams.go index 008984e..f422b0b 100644 --- a/pkg/notify/notifier/msteams.go +++ b/pkg/notify/notifier/msteams.go @@ -3,9 +3,9 @@ package notifier import ( "context" "fmt" - "heartbeats/pkg/notify/resolver" "heartbeats/pkg/notify/services/msteams" "heartbeats/pkg/notify/utils" + "heartbeats/pkg/resolver" "time" ) diff --git a/pkg/notify/notifier/slack.go b/pkg/notify/notifier/slack.go index eaf283b..c144459 100644 --- a/pkg/notify/notifier/slack.go +++ b/pkg/notify/notifier/slack.go @@ -3,9 +3,9 @@ package notifier import ( "context" "fmt" - "heartbeats/pkg/notify/resolver" "heartbeats/pkg/notify/services/slack" "heartbeats/pkg/notify/utils" + "heartbeats/pkg/resolver" "time" ) diff --git a/pkg/notify/resolver/resolver.go b/pkg/resolver/resolver.go similarity index 100% rename from pkg/notify/resolver/resolver.go rename to pkg/resolver/resolver.go diff --git a/pkg/notify/resolver/resolver_test.go b/pkg/resolver/resolver_test.go similarity index 100% rename from pkg/notify/resolver/resolver_test.go rename to pkg/resolver/resolver_test.go