keys returns the dmap's keys
()
| 136 | |
| 137 | // keys returns the dmap's keys |
| 138 | func (m dmap) keys() []string { |
| 139 | keys := make([]string, len(m)) |
| 140 | |
| 141 | i := 0 |
| 142 | for k := range m { |
| 143 | keys[i] = k |
| 144 | i++ |
| 145 | } |
| 146 | |
| 147 | return keys |
| 148 | } |
| 149 | |
| 150 | // String returns a string representation of the dmap |
| 151 | func (m dmap) String() string { |