![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
go
这个昵称被占用了吗
free,explore
展开
-
go语法学习
go语法学习主要记录一下在go语法上踩过的坑if...else的"{"必须在同一行主要记录一下在go语法上踩过的坑if…else的"{"必须在同一行不放在同意行的话会报语法错误syntax error: unexpected newline, expecting { after if clause...原创 2021-06-27 11:20:24 · 342 阅读 · 0 评论 -
go import proto
import导入.pb.go文件协议方式import “project/floder”原创 2021-03-31 15:38:20 · 224 阅读 · 0 评论 -
protoc-gen-go: program not found or is not executable
执行proto生成.pb.go文件时报错:生成pb.go命令:protoc --go_out=plugins=grpc:. *.protoprotoc-gen-go: program not found or is not executable--go_out: protoc-gen-go: Plugin failed with status code 1./etc/profile环境变量设置有问题,之前删掉了$GOPATH的bin...原创 2021-03-31 14:53:47 · 1137 阅读 · 1 评论