func (sc *Config) ConfLoad(configPaths ...string) (map[string]interface{}, error) {
	_, err := sc.LoadConfigFile(configPaths...)
	if err != nil {
		return nil, err
	}
	return sc.Dc.Data(), nil
}
Return loaded data
package data
import (
	"fmt"
	"github.com/gookit/config"
	"github.com/gookit/config/json"
)
type Config struct {
	Dc *config.Config
}
func NewConfig() *Config {
	return &Config{config.New("default")}
}