Skip to content

Commit

Permalink
(chore): Add goimports linter check and fix issues
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Macedo <[email protected]>
  • Loading branch information
Camila Macedo committed Sep 30, 2023
1 parent 823011f commit 78c09db
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ linters:
- unparam
- unused
- misspell
- goimports
3 changes: 2 additions & 1 deletion subcommands/targets/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import (
"encoding/json"
"errors"
"fmt"
"strings"

"github.com/foundriesio/fioctl/client"
"github.com/foundriesio/fioctl/subcommands"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"strings"
)

var (
Expand Down
9 changes: 5 additions & 4 deletions subcommands/targets/offline-update.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/foundriesio/fioctl/client"
"github.com/foundriesio/fioctl/subcommands"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"io"
"os"
"path"
"strconv"
"strings"
"time"

"github.com/foundriesio/fioctl/client"
"github.com/foundriesio/fioctl/subcommands"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)

type (
Expand Down
3 changes: 2 additions & 1 deletion subcommands/users/cmd.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package users

import (
"strings"

"github.com/cheynewallace/tabby"
"github.com/foundriesio/fioctl/client"
"github.com/foundriesio/fioctl/subcommands"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"strings"
)

func NewCommand() *cobra.Command {
Expand Down

0 comments on commit 78c09db

Please sign in to comment.