func ReadBoolSetting(db *reform.Querier, key string) (bool, error) {
	val, err := ReadSetting(db, key)
	if err != nil {
		return false, err
	}

	val2, err := strconv.ParseBool(val)
	if err != nil {
		return false, newSettingParseError(key, err)
	}

	return bool(val2), nil
}
func ReadBoolSetting(db *reform.Querier, key string) (bool, error) {
	val, err := ReadSetting(db, key)
	if err != nil {
		return false, err
	}

	val2, err := strconv.ParseBool(val)
	if err != nil {
		return false, newSettingParseError(key, err)
	}

	return bool(val2), nil
}
func ReadBoolSetting ( db * reform . Querier , key string ) ( bool , error ) { val , err := ReadSetting ( db , key ) if err != nil { return false , err } val2 , err := strconv . ParseBool ( val ) if err != nil { return false , newSettingParseError ( key , err ) } return bool ( val2 ) , nil }
// ReadBoolSetting reads value of a given bool setting.
ReadBoolSetting reads value of a given bool setting .