
go
风雨雾花丶
这个作者很懒,什么都没留下…
展开
-
windows ----- grpc---入门
参考博客:https://www.cnblogs.com/chnmig/p/12188604.html 但是在执行命令的时候 protoc --go_out=plugins=grpc:./ ./spider.proto 报错: protoc-gen-go: 没有对应的命令 protoc-gen-go: unable to determine Go import path for "spider.proto" 第一个错误:我执行了好几次 go get -u github.com/golang原创 2021-04-23 14:39:45 · 205 阅读 · 0 评论 -
golang 新手遇到的坑
因为对着iris文档操作,开始学习,总是能遇到一些语法上的问题,每次一个小问题能折腾半天 想想还是做个记录吧。 1,cannot refer to unexported name controller.test 模块中要导出的函数,必须首字母大写。 2,not enough arguments in call to controller.Test have () 需...原创 2019-11-28 11:19:08 · 10631 阅读 · 4 评论 -
go windows 安装zookeeper ,链接kafka
1,windows安装 zookeeper 关于zookeeper的详细解释如下 https://www.cnblogs.com/ultranms/p/9585191.html 参考博客https://blog.youkuaiyun.com/ring300/article/details/80446918 下载地址https://mirrors.tuna.tsinghua.edu.cn/ap...原创 2019-11-08 16:39:40 · 275 阅读 · 0 评论