//resolveAndGet will dynamically check the variables in the value for the given key. If the key is absent then it will
//return the default val d passed
resolveAndGet will dynamically check the variables in the value for the given key. If the key is absent then it will
return the default val d passed
// resolveAndGet will dynamically check the variables in the value for the given key . If the key is absent then it will // return the default val d passed
func (p *Properties) resolveAndGet(k, d string) string {
	p.RLock()
	defer p.RUnlock()
	if value, ok := p.props[k]; ok {
		return p.resolve(value)
	}
	return d
}
func ( p * Properties ) resolveAndGet ( k , d string ) string { p . RLock ( ) defer p . RUnlock ( ) if value , ok := p . props [ k ] ; ok { return p . resolve ( value ) } return d }
resolveAndGet will dynamically check the variables in the value for the given key.
resolveAndGet will dynamically check the variables in the value for the given key .