摘要: 使用mod模式的时候,怎么使用本地的项目,尤其是在使用微服务开发的时候,需要用到service中的pd文件 首先go mod init之后编辑生成的go.mod文件 使用replace替换掉就可以了 module demo/services/xxxxxx go 1.14 require ( demo 阅读全文
posted @ 2020-04-27 16:49 zhjahch 阅读(2173) 评论(0) 推荐(0) 编辑