Skip to content

Commit e825282

Browse files
committed
feat(poet): add statement types and pointer support, delete unused templates
Add AST support for structured function bodies: - Return: return statement with multiple values - For: traditional for loop and range-based iteration - If: if/else statements with optional init clause Enhance Param type: - Add Pointer boolean field to indicate pointer types instead of requiring "*" prefix in the Type string Delete unused templates: - Remove internal/codegen/golang/templates/ directory containing .tmpl files that are no longer used after switching to poet-based code generation
1 parent da674d6 commit e825282

File tree

12 files changed

+141
-1091
lines changed

12 files changed

+141
-1091
lines changed

internal/codegen/golang/templates/go-sql-driver-mysql/copyfromCopy.tmpl

Lines changed: 0 additions & 52 deletions
This file was deleted.

internal/codegen/golang/templates/pgx/batchCode.tmpl

Lines changed: 0 additions & 134 deletions
This file was deleted.

internal/codegen/golang/templates/pgx/copyfromCopy.tmpl

Lines changed: 0 additions & 51 deletions
This file was deleted.

internal/codegen/golang/templates/pgx/dbCode.tmpl

Lines changed: 0 additions & 37 deletions
This file was deleted.

internal/codegen/golang/templates/pgx/interfaceCode.tmpl

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)