2020年7月5日

hcl v2 golang支持环境变量参考

摘要: 以前写过简单的hcl 解析,以下是一个关于支持环境变量的处理 参考代码 go mod module gihub.com/rongfengliang/hclv2-learning ​ go 1.14 ​ require ( github.com/hashicorp/hcl/v2 v2.6.0 gith 阅读全文

posted @ 2020-07-05 22:48 荣锋亮 阅读(468) 评论(0) 推荐(0)

Mage 类似make&&rake 基于golang 的build 工具

摘要: Mage 是基于golang 开发的,类似make/rake 的工具,我们可以使用golang 代码编写类似make 的功能 以下是一个简单的使用 安装 go get -u -d github.com/magefile/mage 基本使用 代码 go mod init github.com/rong 阅读全文

posted @ 2020-07-05 12:55 荣锋亮 阅读(2034) 评论(0) 推荐(0)

导航