ReadableStyle returns formatting options for human-readable output.
()
| 76 | |
| 77 | // ReadableStyle returns formatting options for human-readable output. |
| 78 | func ReadableStyle() FormatOptions { |
| 79 | return FormatOptions{ |
| 80 | IndentStyle: IndentSpaces, |
| 81 | IndentWidth: 2, |
| 82 | KeywordCase: KeywordUpper, |
| 83 | LineWidth: 80, |
| 84 | NewlinePerClause: true, |
| 85 | AddSemicolon: true, |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | // ─── Backward-compatibility hooks ──────────────────────────────────────────── |
| 90 | // |
no outgoing calls