Add go module support

This adds a go.{mod,sum} file to official support go modules.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
This commit is contained in:
Sascha Grunert
2019-08-03 12:55:06 +02:00
parent 1169906f57
commit 4627bbe109
13 changed files with 25 additions and 11 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings"
"syscall"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
// FlagInputSourceExtension is an extension interface of cli.Flag that
+1 -1
View File
@@ -3,7 +3,7 @@ package altsrc
import (
"flag"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
// WARNING: This file is generated!
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
type testApplyInputSource struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package altsrc
import (
"time"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
// InputSourceContext is an interface used to allow
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os"
"testing"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
const (
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strings"
"time"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
// NewJSONSourceFromFlagFunc returns a func that takes a cli.Context
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings"
"time"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
// MapInputSource implements InputSourceContext to return
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"os"
"testing"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
func TestCommandTomFileTest(t *testing.T) {
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"reflect"
"github.com/BurntSushi/toml"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
type tomlMap struct {
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"os"
"testing"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
)
func TestCommandYamlFileTest(t *testing.T) {
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"runtime"
"strings"
"gopkg.in/urfave/cli.v1"
"github.com/urfave/cli"
"gopkg.in/yaml.v2"
)