Imports split into three groups: standard library, third-party, then this project's own packages
gci is configured with the sections standard, default and localmodule, and goimports with the module path as its local prefix, so both formatters agree.
This commit is contained in:
1 parent
c9f42b62ad
commit
e19c8c2b69
35 files changed
+85
-39
No files matched your search
@@ -23,13 +23,14 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"git.avsdev.uk/Go/job-search/internal/cli"
|
||||
"git.avsdev.uk/Go/job-search/internal/cli/config"
|
||||
"git.avsdev.uk/Go/job-search/internal/cli/fetch"
|
||||
"git.avsdev.uk/Go/job-search/internal/cli/migrate"
|
||||
"git.avsdev.uk/Go/job-search/internal/cli/version"
|
||||
"git.avsdev.uk/Go/job-search/internal/cli/wsserve"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
// newRootCmd builds the command tree. It returns a fresh tree on each call so
|
||||
|
||||
@@ -32,9 +32,10 @@ import (
|
||||
"time"
|
||||
_ "time/tzdata"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"git.avsdev.uk/Go/job-search/internal/logging"
|
||||
mock "git.avsdev.uk/Go/job-search/internal/mock/findatender"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
// options holds the values of every command-line flag.
|
||||
|
||||
Reference in new issue
Block a user