()
| 99 | } |
| 100 | |
| 101 | func (r *RootElem) GetDataMap() map[string]any { |
| 102 | atoms := r.getAtomsByPrefix("$data.") |
| 103 | result := make(map[string]any) |
| 104 | for name, atom := range atoms { |
| 105 | result[name] = atom.GetVal() |
| 106 | } |
| 107 | return result |
| 108 | } |
| 109 | |
| 110 | func (r *RootElem) GetConfigMap() map[string]any { |
| 111 | atoms := r.getAtomsByPrefix("$config.") |
no test coverage detected