(lines: string[], blocks: Iterable<string>)
| 3000 | } |
| 3001 | |
| 3002 | function pushGoCodeBlocks(lines: string[], blocks: Iterable<string>): void { |
| 3003 | for (const block of blocks) { |
| 3004 | lines.push(block); |
| 3005 | lines.push(``); |
| 3006 | } |
| 3007 | } |
| 3008 | |
| 3009 | function sortedGoDeclaredTypeBlocks(blocks: string[]): string[] { |
| 3010 | return [...blocks].sort((left, right) => goDeclaredTypeName(left).localeCompare(goDeclaredTypeName(right))); |
no test coverage detected
searching dependent graphs…