介绍一个我当初在鹅厂写过的吧。
完全的云原生环境下的配置管理。
结合 直接上代码给你看看吧。
type MyConf struct { TestKey1 string `cm:"testKey1"` TestKey2 int `cm:"testKey2"` TestKey3 struct { SubKey1 string `yaml:"subKey1"` SubKey2 int `yaml:"subKey2"` SubKey3 []string `yaml:"subKey3"` } `cm:"testKey3"` } func (c *MyConf) CMName() string { return "cm-op-config-test" } 使用? myConf := &My…。
Solid 很灵活。 它没有和 Web 绑死,没有和特殊的编...
长相一般林志玲。 女中大力士你林姐...
我媳妇爷爷去世的时候, 我们也是领证没有办婚礼, 我的想法很...
edit 做出来其实就一个原因,它要内置在系统里面,连Win...
前几天发过一篇GoEdgeCDN手动部署指南,貌似对小白来说...
因为中国的垃圾焚烧发电厂已经不够烧了,因为太赚钱,导致建设的...