File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -339,6 +339,25 @@ docker compose up -d
3393393 . ** Use specific package tests:** Faster iteration during development
3403404 . ** Start databases early:** ` docker compose up -d ` before running integration tests
3413415 . ** Read existing tests:** Good examples in ` /internal/engine/postgresql/*_test.go `
342+ 6 . ** Always run go fmt:** Format code before committing (see Code Formatting below)
343+
344+ ## Code Formatting
345+
346+ ** Always run ` go fmt ` before committing changes.** This ensures consistent code style across the codebase.
347+
348+ ``` bash
349+ # Format specific packages
350+ go fmt ./internal/codegen/golang/...
351+ go fmt ./internal/poet/...
352+
353+ # Format all packages
354+ go fmt ./...
355+ ```
356+
357+ For the code generation packages specifically:
358+ ``` bash
359+ go fmt ./internal/codegen/golang/... ./internal/poet/...
360+ ```
342361
343362## Git Workflow
344363
You can’t perform that action at this time.
0 commit comments