fix import paths for v2 release

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-01-30 14:39:00 +03:00
parent 2b1e0a6fd6
commit f23638c036
347 changed files with 864 additions and 820 deletions

View File

@@ -5,7 +5,7 @@ import (
"io/ioutil"
"os"
"github.com/micro/go-micro/config/source"
"github.com/micro/go-micro/v2/config/source"
)
type file struct {

View File

@@ -3,7 +3,7 @@ package file
import (
"strings"
"github.com/micro/go-micro/config/encoder"
"github.com/micro/go-micro/v2/config/encoder"
)
func format(p string, e encoder.Encoder) string {

View File

@@ -3,7 +3,7 @@ package file
import (
"testing"
"github.com/micro/go-micro/config/source"
"github.com/micro/go-micro/v2/config/source"
)
func TestFormat(t *testing.T) {

View File

@@ -3,7 +3,7 @@ package file
import (
"context"
"github.com/micro/go-micro/config/source"
"github.com/micro/go-micro/v2/config/source"
)
type filePathKey struct{}

View File

@@ -6,7 +6,7 @@ import (
"os"
"github.com/fsnotify/fsnotify"
"github.com/micro/go-micro/config/source"
"github.com/micro/go-micro/v2/config/source"
)
type watcher struct {

View File

@@ -6,7 +6,7 @@ import (
"os"
"github.com/fsnotify/fsnotify"
"github.com/micro/go-micro/config/source"
"github.com/micro/go-micro/v2/config/source"
)
type watcher struct {