(m map[string]any, key string)
| 235 | } |
| 236 | |
| 237 | func getString(m map[string]any, key string) string { |
| 238 | if v, ok := m[key]; ok { |
| 239 | if s, ok := v.(string); ok { |
| 240 | return s |
| 241 | } |
| 242 | } |
| 243 | return "" |
| 244 | } |
| 245 | |
| 246 | func getFloat(m map[string]any, key string) float64 { |
| 247 | if v, ok := m[key]; ok { |
no outgoing calls
no test coverage detected