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

@@ -7,12 +7,11 @@ import (
"github.com/micro/go-micro/v2/errors"
"github.com/micro/go-micro/v2/registry"
"github.com/micro/go-micro/v2/registry/memory"
"github.com/micro/go-micro/v2/selector"
)
func newTestRegistry() registry.Registry {
return memory.NewRegistry(memory.Services(testData))
return registry.NewMemoryRegistry(registry.Services(testData))
}
func TestCallAddress(t *testing.T) {