(key string)
| 26 | } |
| 27 | |
| 28 | func GetBool(key string) bool { |
| 29 | return GetStr(key) == "true" || GetStr(key) == "1" |
| 30 | } |
| 31 | |
| 32 | func GetFloat(key string, defaultVal float64) float64 { |
| 33 | f, err := strconv.ParseFloat(GetStr(key), 64) |
no test coverage detected