Skip to content

Commit b12f43c

Browse files
authored
fix(core): move human package (#4360)
1 parent 7e6e28a commit b12f43c

File tree

105 files changed

+100
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+100
-100
lines changed

cmd/scw-wasm-tester/human.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/hashicorp/go-version"
99
"github.com/scaleway/scaleway-cli/v2/core"
10-
"github.com/scaleway/scaleway-cli/v2/internal/human"
10+
"github.com/scaleway/scaleway-cli/v2/core/human"
1111
)
1212

1313
func wasmTestMarshalBuildInfo(_ js.Value, _ []js.Value) any {

core/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"sort"
88
"strings"
99

10+
"github.com/scaleway/scaleway-cli/v2/core/human"
1011
"github.com/scaleway/scaleway-cli/v2/internal/alias"
11-
"github.com/scaleway/scaleway-cli/v2/internal/human"
1212
)
1313

1414
// Command represent a CLI command. From this higher level type we create Cobra command objects.

core/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/scaleway/scaleway-cli/v2/internal/human"
8+
"github.com/scaleway/scaleway-cli/v2/core/human"
99
)
1010

1111
// CliError is an all-in-one error structure that can be used in commands to return useful errors to the user.
File renamed without changes.
File renamed without changes.
File renamed without changes.

internal/human/marshal_test.go renamed to core/human/marshal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/alecthomas/assert"
1010
"github.com/dustin/go-humanize"
11-
"github.com/scaleway/scaleway-cli/v2/internal/human"
11+
"github.com/scaleway/scaleway-cli/v2/core/human"
1212
"github.com/scaleway/scaleway-sdk-go/scw"
1313
)
1414

File renamed without changes.
File renamed without changes.

core/printer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"strings"
1010
"text/template"
1111

12+
"github.com/scaleway/scaleway-cli/v2/core/human"
1213
"github.com/scaleway/scaleway-cli/v2/internal/gofields"
13-
"github.com/scaleway/scaleway-cli/v2/internal/human"
1414
"gopkg.in/yaml.v3"
1515
)
1616

0 commit comments

Comments
 (0)