diff --git a/cmd/builtins.go b/cmd/builtins.go index 13e7c49..4119f99 100644 --- a/cmd/builtins.go +++ b/cmd/builtins.go @@ -5,8 +5,8 @@ import ( "sort" "strings" - "github.com/spf13/cobra" "github.com/josephlewis42/honeyssh/commands" + "github.com/spf13/cobra" ) // serveCmd represents the serve command diff --git a/cmd/init.go b/cmd/init.go index 32d7e4e..1a48737 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -3,8 +3,8 @@ package cmd import ( "log" - "github.com/spf13/cobra" "github.com/josephlewis42/honeyssh/core/config" + "github.com/spf13/cobra" ) // initCmd intializes the honeypot configuration diff --git a/cmd/root.go b/cmd/root.go index b2c092a..1a493fb 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -5,8 +5,8 @@ import ( "io/fs" "log" - "github.com/spf13/cobra" "github.com/josephlewis42/honeyssh/core/config" + "github.com/spf13/cobra" ) var cfgPath string diff --git a/cmd/serve.go b/cmd/serve.go index f798fd8..68e4f1e 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -8,8 +8,8 @@ import ( "syscall" "time" - "github.com/spf13/cobra" "github.com/josephlewis42/honeyssh/core" + "github.com/spf13/cobra" ) // serveCmd represents the serve command diff --git a/commands/env_test.go b/commands/env_test.go index 6c496e8..c86ea60 100644 --- a/commands/env_test.go +++ b/commands/env_test.go @@ -3,8 +3,8 @@ package commands import ( "testing" - "github.com/stretchr/testify/assert" "github.com/josephlewis42/honeyssh/core/vos/vostest" + "github.com/stretchr/testify/assert" ) func TestEnv(t *testing.T) { diff --git a/core/vos/fs.go b/core/vos/fs.go index 732e54e..f910457 100644 --- a/core/vos/fs.go +++ b/core/vos/fs.go @@ -12,11 +12,11 @@ import ( "strings" "time" - "github.com/spf13/afero" "github.com/josephlewis42/honeyssh/core/config" "github.com/josephlewis42/honeyssh/third_party/cowfs" "github.com/josephlewis42/honeyssh/third_party/memmapfs" "github.com/josephlewis42/honeyssh/third_party/realpath" + "github.com/spf13/afero" ) func NewVFSFromConfig(configuration *config.Configuration) (VFS, error) { diff --git a/core/vos/fs_test.go b/core/vos/fs_test.go index 8208711..369fd81 100644 --- a/core/vos/fs_test.go +++ b/core/vos/fs_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" + "github.com/josephlewis42/honeyssh/third_party/memmapfs" "github.com/spf13/afero" "github.com/stretchr/testify/assert" - "github.com/josephlewis42/honeyssh/third_party/memmapfs" ) func FSTestCase(t *testing.T, suite FSTestSuite, testPath string) *FSTestCaseSetup { diff --git a/core/vos/sharedos.go b/core/vos/sharedos.go index 05fce0b..a1c304d 100644 --- a/core/vos/sharedos.go +++ b/core/vos/sharedos.go @@ -4,8 +4,8 @@ import ( "sync/atomic" "time" - "github.com/spf13/afero" "github.com/josephlewis42/honeyssh/core/config" + "github.com/spf13/afero" ) // ProcessFunc is a "process" that can be run.