Bump declared module and internal usage to /v3/

This commit is contained in:
2022-09-12 07:51:51 -04:00
parent 0a88df4e46
commit 93a3190684
22 changed files with 27 additions and 31 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strconv"
"syscall"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// FlagInputSourceExtension is an extension interface of cli.Flag that
+1 -1
View File
@@ -5,7 +5,7 @@ package altsrc
import (
"flag"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// BoolFlag is the flag type that wraps cli.BoolFlag to allow
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"testing"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
type testApplyInputSource struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package altsrc
import (
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// InputSourceContext is an interface used to allow
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os"
"testing"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
const (
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// NewJSONSourceFromFlagFunc returns a func that takes a cli.Context
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
// MapInputSource implements InputSourceContext to return
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os"
"testing"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
func TestCommandTomFileTest(t *testing.T) {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"reflect"
"github.com/BurntSushi/toml"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
type tomlMap struct {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os"
"testing"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
func TestCommandYamlFileTest(t *testing.T) {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"runtime"
"strings"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
"gopkg.in/yaml.v3"
)
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"os"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v2/altsrc"
"github.com/urfave/cli/v3"
"github.com/urfave/cli/v3/altsrc"
)
func ExampleApp_Run_yamlFileLoaderDuration() {