v3 refactor (#1868)
* Move to v3 Co-authored-by: Ben Toogood <bentoogood@gmail.com>
This commit is contained in:
@@ -9,8 +9,8 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/micro/go-micro/v2/client"
|
||||
proto "github.com/micro/go-micro/v2/util/file/proto"
|
||||
"github.com/micro/go-micro/v3/client"
|
||||
proto "github.com/micro/go-micro/v3/util/file/proto"
|
||||
)
|
||||
|
||||
// Client is the client interface to access files
|
||||
|
@@ -6,10 +6,10 @@ import (
|
||||
"path/filepath"
|
||||
"sync"
|
||||
|
||||
"github.com/micro/go-micro/v2/errors"
|
||||
"github.com/micro/go-micro/v2/logger"
|
||||
"github.com/micro/go-micro/v2/server"
|
||||
proto "github.com/micro/go-micro/v2/util/file/proto"
|
||||
"github.com/micro/go-micro/v3/errors"
|
||||
"github.com/micro/go-micro/v3/logger"
|
||||
"github.com/micro/go-micro/v3/server"
|
||||
proto "github.com/micro/go-micro/v3/util/file/proto"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
|
@@ -11,9 +11,9 @@ import (
|
||||
|
||||
import (
|
||||
context "context"
|
||||
api "github.com/micro/go-micro/v2/api"
|
||||
client "github.com/micro/go-micro/v2/client"
|
||||
server "github.com/micro/go-micro/v2/server"
|
||||
api "github.com/micro/go-micro/v3/api"
|
||||
client "github.com/micro/go-micro/v3/client"
|
||||
server "github.com/micro/go-micro/v3/server"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
Reference in New Issue
Block a user