(key string, def float64)
| 91 | } |
| 92 | |
| 93 | func (m MetaMapType) GetFloat(key string, def float64) float64 { |
| 94 | if v, ok := m[key]; ok { |
| 95 | if fval, ok := v.(float64); ok { |
| 96 | return fval |
| 97 | } |
| 98 | } |
| 99 | return def |
| 100 | } |
| 101 | |
| 102 | func (m MetaMapType) GetMap(key string) MetaMapType { |
| 103 | if v, ok := m[key]; ok { |