Ai
2 Star 10 Fork 0

tencentcloud/tencentcloud-sdk-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
section.go 406 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangxu-ai 提交于 2021-07-27 16:40 +08:00 . feat : credential manager (#137)
package common
type sections struct {
contains map[string]*section
}
func (ss sections) section(name string) *section {
s, ok := ss.contains[name]
if !ok {
s = new(section)
ss.contains[name] = s
}
return s
}
type section struct {
content map[string]*value
}
func (s *section) key(name string) *value {
v, ok := s.content[name]
if !ok {
v = new(value)
s.content[name] = v
}
return v
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tencentcloud/tencentcloud-sdk-go.git
git@gitee.com:tencentcloud/tencentcloud-sdk-go.git
tencentcloud
tencentcloud-sdk-go
tencentcloud-sdk-go
master

搜索帮助