Closed makenowjust closed 3 weeks ago
If this rule can be enforced by a linter, it sounds really good.
I have no idea, but organizing types in ast.go
into sections may be a good starting point .
e.g.
// ================================================================================
//
// Table statements
//
// ================================================================================
// This section only contains TABLE related nodes like `CreateTable`, `DropTable`, `AlterTable`, `RenameTable`
...
This order follows the official documentation:
If this rule can be enforced by a linter, it sounds really good.