摘要: 以一个简单的例子说明一下go中比较有用的小工具 1. 小工具 1.1 生成一个main.go脚本 jeffreyguan@localhost ~$ cat > main.go package main import "fmt" func main() { fmt.Println("Hello, Je 阅读全文
posted @ 2019-08-17 23:05 大海星 阅读(387) 评论(0) 推荐(0) 编辑
摘要: https://jeremyxu2010.github.io/2018/08/搭建k8s的开发调试环境/ 阅读全文
posted @ 2019-08-17 21:06 大海星 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1. 前提条件 假定您已经按照 "官网文档" 生成了一个operator的框架。我这里使用的是go module。 1.1 go的信息如下: 1.2 项目的路径如下: 1.3 安装goland并配置: Mac上使用快捷键打开项目的配置 command + , 对GOPATH, GOROOT, GO 阅读全文
posted @ 2019-08-17 11:36 大海星 阅读(1435) 评论(0) 推荐(0) 编辑