code: func (c *ConfigLookup) GetDuration(key string) time.Duration {
  	value, ok := c.Lookup(key)
  	if !ok {
  		return 0
  	}
  	return cast.ToDuration(value)
  }
docs: //GetDuration returns time.Duration value for given key