Sort sorts the attributes according to the provided function.
(cmp func(i, j *Attribute) int)
| 134 | |
| 135 | // Sort sorts the attributes according to the provided function. |
| 136 | func (a *Attributes) Sort(cmp func(i, j *Attribute) int) { |
| 137 | slices.SortFunc(a.s, cmp) |
| 138 | } |
nothing calls this directly
no outgoing calls
no test coverage detected