Cleanup go mod

This commit is contained in:
Asim Aslam
2019-12-18 16:12:25 +00:00
parent f0e841595c
commit 2338e7c9d2
6 changed files with 100 additions and 40 deletions

View File

@@ -6,8 +6,8 @@ import (
"sync"
"testing"
glog "github.com/go-log/log"
"github.com/micro/go-micro/client"
"github.com/micro/go-micro/debug/log/noop"
proto "github.com/micro/go-micro/debug/service/proto"
"github.com/micro/go-micro/registry/memory"
"github.com/micro/go-micro/util/log"
@@ -25,7 +25,7 @@ func testShutdown(wg *sync.WaitGroup, cancel func()) {
func testService(ctx context.Context, wg *sync.WaitGroup, name string) Service {
// set no op logger
log.SetLogger(glog.DefaultLogger)
log.SetLogger(noop.NewLog())
// add self
wg.Add(1)