(left: string, right: string)
| 144 | } |
| 145 | |
| 146 | function compareGoFieldNames(left: string, right: string): number { |
| 147 | return left.localeCompare(right); |
| 148 | } |
| 149 | |
| 150 | function sortByGoFieldName<T>(entries: [string, T][]): [string, T][] { |
| 151 | return entries.sort(([left], [right]) => compareGoFieldNames(toGoFieldName(left), toGoFieldName(right))); |
no outgoing calls
no test coverage detected
searching dependent graphs…