v3 refactor (#1868)

* Move to v3

Co-authored-by: Ben Toogood <bentoogood@gmail.com>
This commit is contained in:
Asim Aslam
2020-07-27 13:22:00 +01:00
committed by GitHub
parent 9dfeb98111
commit 563768b58a
424 changed files with 6383 additions and 22490 deletions

View File

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

View File

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

View File

@@ -6,7 +6,7 @@ import (
"os"
"sync"
"github.com/micro/go-micro/v2/debug/log"
"github.com/micro/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/v2/debug/log"
"github.com/micro/go-micro/v2/util/ring"
"github.com/micro/go-micro/v3/debug/log"
"github.com/micro/go-micro/v3/util/ring"
)
var (

View File

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

View File

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

View File

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

View File

@@ -4,7 +4,7 @@ import (
"sync"
"github.com/google/uuid"
"github.com/micro/go-micro/v2/util/ring"
"github.com/micro/go-micro/v3/util/ring"
)
// Should stream from OS