Skip to content

Commit 4dca61b

Browse files
committed
chore: fix linting issues
1 parent 97f0871 commit 4dca61b

File tree

163 files changed

+813
-599
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+813
-599
lines changed

cmd/cloud/apps/list.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
package apps
22

33
import (
4-
"github.com/formancehq/fctl/internal/deployserverclient/models/components"
5-
fctl "github.com/formancehq/fctl/pkg"
6-
"github.com/formancehq/go-libs/v3/pointer"
74
"github.com/pterm/pterm"
85
"github.com/spf13/cobra"
6+
7+
"github.com/formancehq/go-libs/v3/pointer"
8+
9+
"github.com/formancehq/fctl/internal/deployserverclient/models/components"
10+
fctl "github.com/formancehq/fctl/pkg"
911
)
1012

1113
type List struct {

cmd/cloud/apps/runs/list.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ package runs
33
import (
44
"fmt"
55

6-
"github.com/formancehq/fctl/internal/deployserverclient/models/components"
7-
fctl "github.com/formancehq/fctl/pkg"
8-
"github.com/formancehq/go-libs/v3/pointer"
96
"github.com/pterm/pterm"
107
"github.com/spf13/cobra"
8+
9+
"github.com/formancehq/go-libs/v3/pointer"
10+
11+
"github.com/formancehq/fctl/internal/deployserverclient/models/components"
12+
fctl "github.com/formancehq/fctl/pkg"
1113
)
1214

1315
type List struct {

cmd/cloud/apps/variables/list.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ package variables
33
import (
44
"fmt"
55

6-
"github.com/formancehq/fctl/internal/deployserverclient/models/components"
7-
fctl "github.com/formancehq/fctl/pkg"
8-
"github.com/formancehq/go-libs/v3/pointer"
96
"github.com/pterm/pterm"
107
"github.com/spf13/cobra"
8+
9+
"github.com/formancehq/go-libs/v3/pointer"
10+
11+
"github.com/formancehq/fctl/internal/deployserverclient/models/components"
12+
fctl "github.com/formancehq/fctl/pkg"
1113
)
1214

1315
type List struct {

cmd/cloud/apps/versions/list.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ import (
44
"fmt"
55
"strconv"
66

7-
"github.com/formancehq/fctl/internal/deployserverclient/models/components"
8-
fctl "github.com/formancehq/fctl/pkg"
9-
"github.com/formancehq/go-libs/v3/pointer"
107
"github.com/pterm/pterm"
118
"github.com/spf13/cobra"
9+
10+
"github.com/formancehq/go-libs/v3/pointer"
11+
12+
"github.com/formancehq/fctl/internal/deployserverclient/models/components"
13+
fctl "github.com/formancehq/fctl/pkg"
1214
)
1315

1416
type List struct {

cmd/cloud/me/invitations/accept.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package invitations
22

33
import (
4-
"github.com/formancehq/fctl/internal/membershipclient/models/operations"
5-
fctl "github.com/formancehq/fctl/pkg"
64
"github.com/pterm/pterm"
75
"github.com/spf13/cobra"
6+
7+
"github.com/formancehq/fctl/internal/membershipclient/models/operations"
8+
fctl "github.com/formancehq/fctl/pkg"
89
)
910

1011
type AcceptStore struct {

cmd/cloud/me/invitations/decline.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package invitations
22

33
import (
4-
"github.com/formancehq/fctl/internal/membershipclient/models/operations"
5-
fctl "github.com/formancehq/fctl/pkg"
64
"github.com/pterm/pterm"
75
"github.com/spf13/cobra"
6+
7+
"github.com/formancehq/fctl/internal/membershipclient/models/operations"
8+
fctl "github.com/formancehq/fctl/pkg"
89
)
910

1011
type DeclineStore struct {

cmd/cloud/me/invitations/list.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ import (
44
"fmt"
55
"time"
66

7+
"github.com/pterm/pterm"
8+
"github.com/spf13/cobra"
9+
710
"github.com/formancehq/fctl/internal/membershipclient/models/components"
811
"github.com/formancehq/fctl/internal/membershipclient/models/operations"
912
fctl "github.com/formancehq/fctl/pkg"
10-
"github.com/pterm/pterm"
11-
"github.com/spf13/cobra"
1213
)
1314

1415
type Invitations struct {

cmd/cloud/organizations/applications/list.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ package applications
33
import (
44
"fmt"
55

6+
"github.com/pterm/pterm"
7+
"github.com/spf13/cobra"
8+
9+
"github.com/formancehq/go-libs/time"
10+
"github.com/formancehq/go-libs/v3/pointer"
11+
612
"github.com/formancehq/fctl/internal/membershipclient/models/components"
713
"github.com/formancehq/fctl/internal/membershipclient/models/operations"
814
fctl "github.com/formancehq/fctl/pkg"
9-
"github.com/formancehq/go-libs/time"
10-
"github.com/formancehq/go-libs/v3/pointer"
11-
"github.com/pterm/pterm"
12-
"github.com/spf13/cobra"
1315
)
1416

1517
type ListStore struct {

cmd/cloud/organizations/applications/root.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package applications
22

33
import (
4-
fctl "github.com/formancehq/fctl/pkg"
54
"github.com/spf13/cobra"
5+
6+
fctl "github.com/formancehq/fctl/pkg"
67
)
78

89
func NewCommand() *cobra.Command {

cmd/cloud/organizations/applications/show.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ package applications
33
import (
44
"fmt"
55

6+
"github.com/pterm/pterm"
7+
"github.com/spf13/cobra"
8+
9+
"github.com/formancehq/go-libs/time"
10+
611
"github.com/formancehq/fctl/internal/membershipclient/models/components"
712
"github.com/formancehq/fctl/internal/membershipclient/models/operations"
813
fctl "github.com/formancehq/fctl/pkg"
9-
"github.com/formancehq/go-libs/time"
10-
"github.com/pterm/pterm"
11-
"github.com/spf13/cobra"
1214
)
1315

1416
type ShowStore struct {

0 commit comments

Comments
 (0)