func ReadYmlReader(path string) (cnf map[string]interface{}, err error) {
	buf, err := ioutil.ReadFile(path)
	if err != nil {
		return
	}
	return parseYML(buf)
}
ReadYmlReader Read yaml file to map.
if json like, use json package, unless goyaml2 package.
package yaml
import (
	"bytes"
	"encoding/json"
	"errors"
	"fmt"
	"io/ioutil"
	"log"
	"os"
	"strings"
	"sync"
	"github.com/beego/goyaml2"
	"github.com/kudoochui/kudos/config"
)
type Config struct{}
func (yaml *Config) Parse(filename string) (y config.Configer, err error) {
	cnf, err := ReadYmlReader(filename)
	if err != nil {
		return
	}
	y = &ConfigContainer{
		data: cnf,
	}
	return
}
func (yaml *Config) ParseData(data []byte) (config.Configer, error) {
	cnf, err := parseYML(data)
	if err != nil {
		return nil, err
	}
	return &ConfigContainer{
		data: cnf,
	}, nil
}