![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
go
线上幽灵
大道至简
展开
-
protoc和protoc-gen-go-grpc安装及编译
一、install protocol buffer compilerPB_REL="https://github.com/protocolbuffers/protobuf/releases"curl -LO $PB_REL/download/v3.15.8/protoc-3.15.8-linux-x86_64.zipunzip protoc-3.15.8-linux-x86_64.zip -d /user/local/protoc-3.15.8将protoc安装路径加入到PATH中vim /e原创 2021-07-07 13:39:53 · 12217 阅读 · 2 评论 -
Linux上Golang 版本升级
一、 删除golang旧版本1.1 首先确认当前的 Golang 版本$ go versiongo version go1.13 linux/amd641.2 开始删除$ sudo rm -rf /usr/local/go好了,卸载 golang 就是这么简单。(我本机删除等待了半分钟)实际上,/usr/local/go 下包含了所有的 golang tools。$ ls /usr/local/go/AUTHORS CONTRIBUTING.md CONTRIBUTORS LIC转载 2021-05-21 20:26:52 · 4898 阅读 · 0 评论