(key string, def bool)
| 73 | } |
| 74 | |
| 75 | func (m MetaMapType) GetBool(key string, def bool) bool { |
| 76 | if v, ok := m[key]; ok { |
| 77 | if b, ok := v.(bool); ok { |
| 78 | return b |
| 79 | } |
| 80 | } |
| 81 | return def |
| 82 | } |
| 83 | |
| 84 | func (m MetaMapType) GetInt(key string, def int) int { |
| 85 | if v, ok := m[key]; ok { |
no outgoing calls
no test coverage detected