initial v4
Some checks failed
test / test (push) Failing after 1m53s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2025-05-13 06:25:11 +03:00
parent 290f8a1f9a
commit f253aacfa1
73 changed files with 579 additions and 1534 deletions

View File

@@ -11,15 +11,15 @@ import (
"net/http"
"testing"
mhttp "go.unistack.org/micro-client-http/v3"
jsoncodec "go.unistack.org/micro-codec-json/v3"
rrouter "go.unistack.org/micro-router-register/v3"
mhttp "go.unistack.org/micro-client-http/v4"
jsoncodec "go.unistack.org/micro-codec-json/v4"
rrouter "go.unistack.org/micro-router-register/v4"
pb "go.unistack.org/micro-tests/client/http/proto"
"go.unistack.org/micro/v3/client"
"go.unistack.org/micro/v3/codec"
"go.unistack.org/micro/v3/register"
mregister "go.unistack.org/micro/v3/register/memory"
"go.unistack.org/micro/v3/router"
"go.unistack.org/micro/v4/client"
"go.unistack.org/micro/v4/codec"
"go.unistack.org/micro/v4/register"
mregister "go.unistack.org/micro/v4/register/memory"
"go.unistack.org/micro/v4/router"
"google.golang.org/protobuf/types/known/wrapperspb"
)
@@ -151,9 +151,6 @@ func TestHTTPClient(t *testing.T) {
{
ID: "test.service.1",
Address: l.Addr().String(),
Metadata: map[string]string{
"protocol": "http",
},
},
},
}); err != nil {
@@ -315,9 +312,6 @@ func TestHTTPClientStream(t *testing.T) {
{
ID: "test.service.1",
Address: l.Addr().String(),
Metadata: map[string]string{
"protocol": "http",
},
},
},
}); err != nil {

View File

@@ -8,7 +8,7 @@ package pb
import (
context "context"
client "go.unistack.org/micro/v3/client"
client "go.unistack.org/micro/v4/client"
)
var (

View File

@@ -6,10 +6,10 @@ package pb
import (
context "context"
v31 "go.unistack.org/micro-client-http/v3"
v3 "go.unistack.org/micro-server-http/v3"
client "go.unistack.org/micro/v3/client"
server "go.unistack.org/micro/v3/server"
v31 "go.unistack.org/micro-client-http/v4"
v3 "go.unistack.org/micro-server-http/v4"
client "go.unistack.org/micro/v4/client"
server "go.unistack.org/micro/v4/server"
http "net/http"
)