Skip to content

Commit a4c1444

Browse files
committed
Order imports
Use `goimports` to sort imports with `github.com/gonvenience` being marked as local.
1 parent a148ed4 commit a4c1444

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

box.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ import (
2727
"io"
2828
"strings"
2929

30+
colorful "github.com/lucasb-eyer/go-colorful"
31+
3032
"github.com/gonvenience/bunt"
3133
"github.com/gonvenience/term"
32-
colorful "github.com/lucasb-eyer/go-colorful"
3334
)
3435

3536
// BoxStyle represents a styling option for a content box

errors_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ import (
3030
. "github.com/onsi/ginkgo"
3131
. "github.com/onsi/gomega"
3232

33+
"github.com/pkg/errors"
34+
3335
. "github.com/gonvenience/bunt"
3436
. "github.com/gonvenience/neat"
3537
"github.com/gonvenience/wrap"
36-
"github.com/pkg/errors"
3738
)
3839

3940
var _ = Describe("error rendering", func() {

output.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ import (
2626
"fmt"
2727
"strings"
2828

29-
"github.com/gonvenience/bunt"
3029
colorful "github.com/lucasb-eyer/go-colorful"
3130
yamlv2 "gopkg.in/yaml.v2"
3231
yamlv3 "gopkg.in/yaml.v3"
32+
33+
"github.com/gonvenience/bunt"
3334
)
3435

3536
// DefaultColorSchema is a prepared usable color schema for the neat output

output_json.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ import (
2727
"strings"
2828
"time"
2929

30-
"github.com/gonvenience/bunt"
3130
yamlv2 "gopkg.in/yaml.v2"
3231
yamlv3 "gopkg.in/yaml.v3"
32+
33+
"github.com/gonvenience/bunt"
3334
)
3435

3536
// ToJSONString marshals the provided object into JSON with text decorations

output_yaml.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ import (
2525
"reflect"
2626
"strings"
2727

28-
"github.com/gonvenience/bunt"
2928
yamlv2 "gopkg.in/yaml.v2"
3029
yamlv3 "gopkg.in/yaml.v3"
30+
31+
"github.com/gonvenience/bunt"
3132
)
3233

3334
// ToYAMLString marshals the provided object into YAML with text decorations

0 commit comments

Comments
 (0)