1
0
Fork 0

chore: go module

This commit is contained in:
Fernandez Ludovic 2019-08-03 03:58:23 +02:00 committed by Traefiker Bot
parent f327b7b499
commit 4c5e7a238d
276 changed files with 1555 additions and 738 deletions

View file

@ -2,7 +2,7 @@
package file
import (
"github.com/containous/traefik/pkg/config/parser"
"github.com/containous/traefik/v2/pkg/config/parser"
)
// Decode decodes the given configuration file into the given element.

View file

@ -8,7 +8,7 @@ import (
"strings"
"github.com/BurntSushi/toml"
"github.com/containous/traefik/pkg/config/parser"
"github.com/containous/traefik/v2/pkg/config/parser"
"gopkg.in/yaml.v2"
)

View file

@ -3,7 +3,7 @@ package file
import (
"testing"
"github.com/containous/traefik/pkg/config/parser"
"github.com/containous/traefik/v2/pkg/config/parser"
"github.com/stretchr/testify/assert"
)

View file

@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/containous/traefik/pkg/config/parser"
"github.com/containous/traefik/v2/pkg/config/parser"
)
func decodeRawToNode(data map[string]interface{}, rootName string, filters ...string) (*parser.Node, error) {

View file

@ -3,7 +3,7 @@ package file
import (
"testing"
"github.com/containous/traefik/pkg/config/parser"
"github.com/containous/traefik/v2/pkg/config/parser"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)