介绍一个我当初在鹅厂写过的吧。
完全的云原生环境下的配置管理。
结合 直接上代码给你看看吧。
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…。
为什么 Bun 选择了 Zig 以及 JSCore?
请问照片里这个人是谁呀?
小区不让外卖员骑车进来,只能走进来,每次点外卖,很多人都不接单,我该怎么办?
为什么现在越来越多的人不想要孩子呢?
你捡过最大的漏是什么?
用PHP写了个小框架,怎么才能得到大佬们的指点?