go异常 Consul transport: Error while dialing dial tcp too many colons in address
grpc.DialConsul拨号错误详细博客go微服务调用报错toomanycolonsinaddress-CSDN博客问题描述:我提取了关键部分的代码编写了单元测试,方便测试问题。给大家参考一下。这原先是大佬给的案例,我没见过这种写法,出于兴趣就按照案例写了一个demo,结果一写就出现报错。funcTestSrvConn(t*testing.T){consulInfo:=global.Serv