1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-23 21:44:41 +02:00

refactor all the things

This commit is contained in:
Asim Aslam
2020-12-29 15:49:26 +00:00
parent d197438e16
commit a7c31a0d2b
195 changed files with 13898 additions and 3391 deletions

View File

@@ -6,7 +6,7 @@ import (
"testing"
proto "github.com/micro/go-micro/v2/debug/proto"
"github.com/micro/go-micro/v2/registry/memory"
"github.com/micro/go-micro/v2/registry"
"github.com/micro/go-micro/v2/util/test"
)
@@ -14,7 +14,7 @@ func TestFunction(t *testing.T) {
var wg sync.WaitGroup
wg.Add(1)
r := memory.NewRegistry(memory.Services(test.Data))
r := registry.NewMemoryRegistry(registry.Services(test.Data))
// create service
fn := NewFunction(