rename imports to asim/go-micro (#2051)

This commit is contained in:
Asim Aslam
2020-10-20 10:15:39 +01:00
committed by GitHub
parent 1ee348109e
commit b508565a78
265 changed files with 673 additions and 673 deletions

View File

@@ -1,4 +1,4 @@
// Package kubernetes is a logger implementing (github.com/micro/go-micro/v3/debug/log).Log
// Package kubernetes is a logger implementing (github.com/asim/go-micro/v3/debug/log).Log
package kubernetes
import (
@@ -10,8 +10,8 @@ import (
"strconv"
"time"
"github.com/micro/go-micro/v3/debug/log"
"github.com/micro/go-micro/v3/util/kubernetes/client"
"github.com/asim/go-micro/v3/debug/log"
"github.com/asim/go-micro/v3/util/kubernetes/client"
)
type klog struct {

View File

@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/micro/go-micro/v3/debug/log"
"github.com/asim/go-micro/v3/debug/log"
"github.com/stretchr/testify/assert"
)

View File

@@ -6,7 +6,7 @@ import (
"os"
"sync"
"github.com/micro/go-micro/v3/debug/log"
"github.com/asim/go-micro/v3/debug/log"
)
func write(l log.Record) error {

View File

@@ -4,8 +4,8 @@ package memory
import (
"fmt"
"github.com/micro/go-micro/v3/debug/log"
"github.com/micro/go-micro/v3/util/ring"
"github.com/asim/go-micro/v3/debug/log"
"github.com/asim/go-micro/v3/util/ring"
)
// memoryLog is default micro log

View File

@@ -4,7 +4,7 @@ import (
"reflect"
"testing"
"github.com/micro/go-micro/v3/debug/log"
"github.com/asim/go-micro/v3/debug/log"
)
func TestLogger(t *testing.T) {

View File

@@ -1,7 +1,7 @@
package memory
import (
"github.com/micro/go-micro/v3/debug/log"
"github.com/asim/go-micro/v3/debug/log"
)
type logStream struct {

View File

@@ -1,7 +1,7 @@
package noop
import (
"github.com/micro/go-micro/v3/debug/log"
"github.com/asim/go-micro/v3/debug/log"
)
type noop struct{}

View File

@@ -7,7 +7,7 @@ import (
"net/http/pprof"
"sync"
"github.com/micro/go-micro/v3/debug/profile"
"github.com/asim/go-micro/v3/debug/profile"
)
type httpProfile struct {

View File

@@ -9,7 +9,7 @@ import (
"sync"
"time"
"github.com/micro/go-micro/v3/debug/profile"
"github.com/asim/go-micro/v3/debug/profile"
)
type profiler struct {

View File

@@ -5,8 +5,8 @@ import (
"sync"
"time"
"github.com/micro/go-micro/v3/debug/stats"
"github.com/micro/go-micro/v3/util/ring"
"github.com/asim/go-micro/v3/debug/stats"
"github.com/asim/go-micro/v3/util/ring"
)
type memoryStats struct {

View File

@@ -4,9 +4,9 @@ import (
"context"
"time"
"github.com/asim/go-micro/v3/debug/trace"
"github.com/asim/go-micro/v3/util/ring"
"github.com/google/uuid"
"github.com/micro/go-micro/v3/debug/trace"
"github.com/micro/go-micro/v3/util/ring"
)
type Tracer struct {

View File

@@ -5,7 +5,7 @@ import (
"context"
"time"
"github.com/micro/go-micro/v3/metadata"
"github.com/asim/go-micro/v3/metadata"
)
// Tracer is an interface for distributed tracing