Skip to content

Commit

Permalink
style(import): remove useless scalingo alias for go-scalingo
Browse files Browse the repository at this point in the history
  • Loading branch information
curzolapierre committed Apr 25, 2024
1 parent 52e9462 commit a682426
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion apps/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
errors "github.com/Scalingo/go-utils/errors/v2"
)

Expand Down
2 changes: 1 addition & 1 deletion apps/run/run_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net"
"os"

scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func NotifiedSignals() chan os.Signal {
Expand Down
2 changes: 1 addition & 1 deletion cmd/alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/Scalingo/cli/cmd/autocomplete"
"github.com/Scalingo/cli/detect"
"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/Scalingo/cli/deployments"
"github.com/Scalingo/cli/detect"
"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7/io"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/Scalingo/cli/detect"
"github.com/Scalingo/cli/domains"
"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/maintenance.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/Scalingo/cli/db/maintenance"
"github.com/Scalingo/cli/detect"
"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

var databaseMaintenanceList = cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/notifiers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/Scalingo/cli/detect"
"github.com/Scalingo/cli/notifiers"
"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/region_migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/Scalingo/cli/detect"
"github.com/Scalingo/cli/regionmigrations"
"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion config/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/Scalingo/cli/config/auth"
appio "github.com/Scalingo/cli/io"
"github.com/Scalingo/cli/term"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
scalingohttp "github.com/Scalingo/go-scalingo/v7/http"
scalingoerrors "github.com/Scalingo/go-utils/errors/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion db/backup_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func CreateBackup(ctx context.Context, app, addon string) error {
Expand Down
2 changes: 1 addition & 1 deletion db/backups.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func ListBackups(ctx context.Context, app, addon string) error {
Expand Down
2 changes: 1 addition & 1 deletion db/backups_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func BackupsConfiguration(ctx context.Context, app, addon string, params scalingo.DatabaseUpdatePeriodicBackupsConfigParams) error {
Expand Down
2 changes: 1 addition & 1 deletion db/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

// EnableFeature is the command handler to enable a database feature on a given
Expand Down
2 changes: 1 addition & 1 deletion domains/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"gopkg.in/errgo.v1"

"github.com/Scalingo/cli/config"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

var letsencryptStatusString = map[string]string{
Expand Down
2 changes: 1 addition & 1 deletion integrationlink/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7/http"
"github.com/Scalingo/go-utils/errors/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion notifiers/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7/debug"
)

Expand Down
2 changes: 1 addition & 1 deletion notifiers/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"gopkg.in/errgo.v1"

"github.com/Scalingo/cli/config"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func List(ctx context.Context, app string) error {
Expand Down
2 changes: 1 addition & 1 deletion regionmigrations/refresher.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
errgo "gopkg.in/errgo.v1"

"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-utils/retry"
)

Expand Down
2 changes: 1 addition & 1 deletion regionmigrations/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
errgo "gopkg.in/errgo.v1"

"github.com/Scalingo/cli/config"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func Create(ctx context.Context, app string, destination string, dstAppName string) error {
Expand Down
2 changes: 1 addition & 1 deletion regionmigrations/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
"github.com/Scalingo/cli/utils"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func showMigrationStatusSuccess(ctx context.Context, appID string, migration scalingo.RegionMigration) {
Expand Down
2 changes: 1 addition & 1 deletion regionmigrations/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package regionmigrations
import (
"github.com/fatih/color"

scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func formatMigrationStatus(status scalingo.RegionMigrationStatus) string {
Expand Down
2 changes: 1 addition & 1 deletion regionmigrations/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

errgo "gopkg.in/errgo.v1"

scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func WatchMigration(ctx context.Context, client *scalingo.Client, appID, migrationID string, opts RefreshOpts) error {
Expand Down
2 changes: 1 addition & 1 deletion scmintegrations/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func Delete(ctx context.Context, id string) error {
Expand Down
2 changes: 1 addition & 1 deletion scmintegrations/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/Scalingo/cli/config"
"github.com/Scalingo/cli/io"
scalingo "github.com/Scalingo/go-scalingo/v7"
"github.com/Scalingo/go-scalingo/v7"
)

func List(ctx context.Context) error {
Expand Down

0 comments on commit a682426

Please sign in to comment.