func (c *cachedLoader) MustGetString(key string) string {
	b, err := c.Get(key)
	if err != nil {
		panic(fmt.Sprintf("Could not fetch config (%s) %v", key, err))
	}

	var s string
	err = json.Unmarshal(b, &s)
	if err != nil {
		panic(fmt.Sprintf("Could not unmarshal config (%s) %v", key, err))
	}

	return s
}
func (c *cachedLoader) MustGetString(key string) string {
	b, err := c.Get(key)
	if err != nil {
		panic(fmt.Sprintf("Could not fetch config (%s) %v", key, err))
	}

	var s string
	err = json.Unmarshal(b, &s)
	if err != nil {
		panic(fmt.Sprintf("Could not unmarshal config (%s) %v", key, err))
	}

	return s
}
func ( c * cachedLoader ) MustGetString ( key string ) string { b , err := c . Get ( key ) if err != nil { panic ( fmt . Sprintf ( " " , key , err ) ) } var s string err = json . Unmarshal ( b , & s ) if err != nil { panic ( fmt . Sprintf ( " " , key , err ) ) } return s }
// MustGetString fetches the config and parses it into a string.  Panics on failure.
MustGetString fetches the config and parses it into a string . Panics on failure .