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
camilamacedo86 committed Sep 28, 2023
1 parent c896a55 commit ebf2e4b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ linters:
- staticcheck
- typecheck
- unparam
- unused
- unused
- 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 ebf2e4b

Please sign in to comment.