Skip to content

Commit

Permalink
Reorganised import paths
Browse files Browse the repository at this point in the history
Clean up import paths to have common style.
  • Loading branch information
HeavyWombat committed Feb 19, 2021
1 parent 5c09f43 commit feb4083
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions cmd/dyff/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"github.com/gonvenience/bunt"
"github.com/gonvenience/neat"
"github.com/gonvenience/wrap"

"github.com/homeport/dyff/internal/cmd"
)

Expand Down
3 changes: 2 additions & 1 deletion internal/cmd/between.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ package cmd
import (
"github.com/gonvenience/wrap"
"github.com/gonvenience/ytbx"
"github.com/homeport/dyff/pkg/dyff"
"github.com/spf13/cobra"

"github.com/homeport/dyff/pkg/dyff"
)

type betweenCmdOptions struct {
Expand Down
3 changes: 2 additions & 1 deletion internal/cmd/cmd_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ import (
"path/filepath"
"testing"

. "github.com/homeport/dyff/internal/cmd"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

. "github.com/homeport/dyff/internal/cmd"
)

func TestCmd(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion internal/cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ import (
"github.com/gonvenience/neat"
"github.com/gonvenience/wrap"
"github.com/gonvenience/ytbx"
"github.com/homeport/dyff/pkg/dyff"
"github.com/spf13/cobra"
yamlv3 "gopkg.in/yaml.v3"

"github.com/homeport/dyff/pkg/dyff"
)

const defaultOutputStyle = "human"
Expand Down
4 changes: 2 additions & 2 deletions internal/cmd/lastApplied.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (

"github.com/gonvenience/wrap"
"github.com/gonvenience/ytbx"
"github.com/homeport/dyff/pkg/dyff"
"github.com/spf13/cobra"

yamlv3 "gopkg.in/yaml.v3"

"github.com/homeport/dyff/pkg/dyff"
)

// lastAppliedCmd represents the lastApplied command
Expand Down
4 changes: 2 additions & 2 deletions pkg/dyff/compare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ package dyff_test

import (
"github.com/gonvenience/ytbx"
. "github.com/homeport/dyff/pkg/dyff"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

. "github.com/homeport/dyff/pkg/dyff"
)

var _ = Describe("Core/Compare", func() {
Expand Down
3 changes: 2 additions & 1 deletion pkg/dyff/core_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ import (
"strconv"
"testing"

. "github.com/homeport/dyff/pkg/dyff"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/onsi/gomega/types"

. "github.com/homeport/dyff/pkg/dyff"

"github.com/davecgh/go-spew/spew"
"github.com/gonvenience/term"
"github.com/gonvenience/ytbx"
Expand Down
3 changes: 2 additions & 1 deletion pkg/dyff/output_human_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ import (
"fmt"

. "github.com/gonvenience/bunt"
. "github.com/homeport/dyff/pkg/dyff"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

. "github.com/homeport/dyff/pkg/dyff"

"github.com/gonvenience/ytbx"
)

Expand Down
1 change: 1 addition & 0 deletions pkg/dyff/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
. "github.com/onsi/gomega"

. "github.com/gonvenience/bunt"

. "github.com/homeport/dyff/pkg/dyff"
)

Expand Down

0 comments on commit feb4083

Please sign in to comment.