()
| 96 | func (p sortedStructs) Less(i, j int) bool { return p[i].Name < p[j].Name } |
| 97 | func (p sortedStructs) Swap(i, j int) { p[i], p[j] = p[j], p[i] } |
| 98 | func (p sortedStructs) Sort() { sort.Sort(p) } |
| 99 | |
| 100 | func (i *Inception) generateCode() error { |
| 101 | // We sort the structs by name, so output if predictable. |