From e8c1a8af52ba49c663a4521e9efa8941d6d79fab Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sun, 12 Sep 2021 19:59:26 -0300 Subject: [PATCH] chore: gofumpt Signed-off-by: Carlos Alexandro Becker --- internal/pipe/announce/announce.go | 5 ++--- pkg/defaults/defaults.go | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/internal/pipe/announce/announce.go b/internal/pipe/announce/announce.go index 8c0c9fab7..2281463e7 100644 --- a/internal/pipe/announce/announce.go +++ b/internal/pipe/announce/announce.go @@ -4,12 +4,11 @@ package announce import ( "fmt" - "github.com/goreleaser/goreleaser/internal/pipe/teams" - "github.com/goreleaser/goreleaser/internal/middleware" "github.com/goreleaser/goreleaser/internal/pipe/discord" "github.com/goreleaser/goreleaser/internal/pipe/reddit" "github.com/goreleaser/goreleaser/internal/pipe/slack" + "github.com/goreleaser/goreleaser/internal/pipe/teams" "github.com/goreleaser/goreleaser/internal/pipe/twitter" "github.com/goreleaser/goreleaser/pkg/context" ) @@ -34,8 +33,8 @@ var announcers = []Announcer{ discord.Pipe{}, reddit.Pipe{}, slack.Pipe{}, - twitter.Pipe{}, teams.Pipe{}, + twitter.Pipe{}, } // Run the pipe. diff --git a/pkg/defaults/defaults.go b/pkg/defaults/defaults.go index 452757e5e..bdce8bbd4 100644 --- a/pkg/defaults/defaults.go +++ b/pkg/defaults/defaults.go @@ -5,8 +5,6 @@ package defaults import ( "fmt" - "github.com/goreleaser/goreleaser/internal/pipe/teams" - "github.com/goreleaser/goreleaser/internal/pipe/archive" "github.com/goreleaser/goreleaser/internal/pipe/artifactory" "github.com/goreleaser/goreleaser/internal/pipe/blob" @@ -27,6 +25,7 @@ import ( "github.com/goreleaser/goreleaser/internal/pipe/snapcraft" "github.com/goreleaser/goreleaser/internal/pipe/snapshot" "github.com/goreleaser/goreleaser/internal/pipe/sourcearchive" + "github.com/goreleaser/goreleaser/internal/pipe/teams" "github.com/goreleaser/goreleaser/internal/pipe/twitter" "github.com/goreleaser/goreleaser/pkg/context" ) @@ -62,9 +61,9 @@ var Defaulters = []Defaulter{ brew.Pipe{}, scoop.Pipe{}, discord.Pipe{}, - teams.Pipe{}, reddit.Pipe{}, slack.Pipe{}, + teams.Pipe{}, twitter.Pipe{}, milestone.Pipe{}, }