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

@@ -6,7 +6,7 @@ import (
"io"
"io/ioutil"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type Codec struct {

View File

@@ -1,7 +1,7 @@
package bytes
import (
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type Marshaler struct{}

View File

@@ -9,7 +9,7 @@ import (
"strings"
"github.com/golang/protobuf/proto"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type Codec struct {

View File

@@ -7,7 +7,7 @@ import (
"github.com/golang/protobuf/jsonpb"
"github.com/golang/protobuf/proto"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type Codec struct {

View File

@@ -6,7 +6,7 @@ import (
"io"
"sync"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type clientCodec struct {

View File

@@ -7,7 +7,7 @@ import (
"fmt"
"io"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type jsonCodec struct {

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"io"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type serverCodec struct {

View File

@@ -4,7 +4,7 @@ import (
"bytes"
"github.com/golang/protobuf/proto"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
"github.com/oxtoacart/bpool"
)

View File

@@ -6,7 +6,7 @@ import (
"io/ioutil"
"github.com/golang/protobuf/proto"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type Codec struct {

View File

@@ -9,7 +9,7 @@ import (
"sync"
"github.com/golang/protobuf/proto"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type flusher interface {

View File

@@ -6,7 +6,7 @@ import (
"io"
"io/ioutil"
"github.com/micro/go-micro/v2/codec"
"github.com/micro/go-micro/v3/codec"
)
type Codec struct {