closeGroup closes the most recently opened group of attributes.
(name string)
| 139 | |
| 140 | // closeGroup closes the most recently opened group of attributes. |
| 141 | func (s *formatterStructured) closeGroup(name string) { |
| 142 | s.prefix.remove(len(name) + 1) // +1 for the dot |
| 143 | } |