简单地读取不同环境的配置, 目前仅限于YAML
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
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. }