gconfig.go
func (c GConfig) getValue(key string) interface{} {
	v := c.defaultConfig.configs[key]
	if c.profileConfig.fileInfo != nil && s.Contains(c.profileConfig.fileInfo.Name(), c.Profile) {
		v = c.profileConfig.configs[key]
	}
	if v == nil {
		v = c.defaultConfig.configs[key]
	}

	return v
}
func (c GConfig) getValue(key string) interface{} {
	v := c.defaultConfig.configs[key]
	if c.profileConfig.fileInfo != nil && s.Contains(c.profileConfig.fileInfo.Name(), c.Profile) {
		v = c.profileConfig.configs[key]
	}
	if v == nil {
		v = c.defaultConfig.configs[key]
	}

	return v
}
func ( c GConfig ) getValue ( key string ) interface { } { v := c . defaultConfig . configs [ key ] if c . profileConfig . fileInfo != nil && s . Contains ( c . profileConfig . fileInfo . Name ( ) , c . Profile ) { v = c . profileConfig . configs [ key ] } if v == nil { v = c . defaultConfig . configs [ key ] } return v }
// getValue gets the raw value for a given key
getValue gets the raw value for a given key