Skip to content

Commit

Permalink
Ran gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
josephlewis42 committed Dec 12, 2024
1 parent ed60fef commit 1e742a3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion commands/env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion core/vos/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion core/vos/fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion core/vos/sharedos.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1e742a3

Please sign in to comment.