简单地读取不同环境的配置, 目前仅限于YAML
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
307 B

  1. package grconfig
  2. import "bytes"
  3. type ConfigerChannelXML struct {
  4. io bytes.Buffer
  5. filename string
  6. adapter string
  7. }
  8. func (c ConfigerChannelXML) Item(item string, t interface{}) (err error) {
  9. panic("implement me")
  10. }
  11. func (c ConfigerChannelXML) String(s string) string {
  12. panic("implement me")
  13. }