Skip to content

Commit

Permalink
Order imports
Browse files Browse the repository at this point in the history
Use `goimports` to sort imports with `github.com/gonvenience` being marked as local.
  • Loading branch information
HeavyWombat committed Mar 27, 2022
1 parent a148ed4 commit a4c1444
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion box.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ import (
"io"
"strings"

colorful "github.com/lucasb-eyer/go-colorful"

"github.com/gonvenience/bunt"
"github.com/gonvenience/term"
colorful "github.com/lucasb-eyer/go-colorful"
)

// BoxStyle represents a styling option for a content box
Expand Down
3 changes: 2 additions & 1 deletion errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

"github.com/pkg/errors"

. "github.com/gonvenience/bunt"
. "github.com/gonvenience/neat"
"github.com/gonvenience/wrap"
"github.com/pkg/errors"
)

var _ = Describe("error rendering", func() {
Expand Down
3 changes: 2 additions & 1 deletion output.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ import (
"fmt"
"strings"

"github.com/gonvenience/bunt"
colorful "github.com/lucasb-eyer/go-colorful"
yamlv2 "gopkg.in/yaml.v2"
yamlv3 "gopkg.in/yaml.v3"

"github.com/gonvenience/bunt"
)

// DefaultColorSchema is a prepared usable color schema for the neat output
Expand Down
3 changes: 2 additions & 1 deletion output_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ import (
"strings"
"time"

"github.com/gonvenience/bunt"
yamlv2 "gopkg.in/yaml.v2"
yamlv3 "gopkg.in/yaml.v3"

"github.com/gonvenience/bunt"
)

// ToJSONString marshals the provided object into JSON with text decorations
Expand Down
3 changes: 2 additions & 1 deletion output_yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ import (
"reflect"
"strings"

"github.com/gonvenience/bunt"
yamlv2 "gopkg.in/yaml.v2"
yamlv3 "gopkg.in/yaml.v3"

"github.com/gonvenience/bunt"
)

// ToYAMLString marshals the provided object into YAML with text decorations
Expand Down

0 comments on commit a4c1444

Please sign in to comment.