fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -5,10 +5,10 @@ import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"github.com/micro/go-micro/client"
|
||||
"github.com/micro/go-micro/v2/client"
|
||||
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
pb "github.com/micro/go-micro/debug/service/proto"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
pb "github.com/micro/go-micro/v2/debug/service/proto"
|
||||
)
|
||||
|
||||
// Debug provides debug service client
|
||||
|
@@ -5,11 +5,11 @@ import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
proto "github.com/micro/go-micro/debug/service/proto"
|
||||
"github.com/micro/go-micro/debug/stats"
|
||||
"github.com/micro/go-micro/debug/trace"
|
||||
"github.com/micro/go-micro/server"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
proto "github.com/micro/go-micro/v2/debug/service/proto"
|
||||
"github.com/micro/go-micro/v2/debug/stats"
|
||||
"github.com/micro/go-micro/v2/debug/trace"
|
||||
"github.com/micro/go-micro/v2/server"
|
||||
)
|
||||
|
||||
// NewHandler returns an instance of the Debug Handler
|
||||
|
@@ -11,8 +11,8 @@ import (
|
||||
|
||||
import (
|
||||
context "context"
|
||||
client "github.com/micro/go-micro/client"
|
||||
server "github.com/micro/go-micro/server"
|
||||
client "github.com/micro/go-micro/v2/client"
|
||||
server "github.com/micro/go-micro/v2/server"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
@@ -3,8 +3,8 @@ package service
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/micro/go-micro/debug"
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/v2/debug"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
)
|
||||
|
||||
type serviceLog struct {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"github.com/micro/go-micro/debug/log"
|
||||
"github.com/micro/go-micro/v2/debug/log"
|
||||
)
|
||||
|
||||
type logStream struct {
|
||||
|
Reference in New Issue
Block a user