This commit is contained in:
Ramiro Paz
2026-03-11 11:04:53 -03:00
parent b45efdb297
commit 9e55c5c562
5 changed files with 4 additions and 500 deletions

View File

@ -12,7 +12,7 @@ The service boots from `main.go`, and all Go packages live under `src`. Use `src
- `make deploy e=<alias>` pushes a build using the target defined in `build/deploy.sh`.
## Coding Style & Naming Conventions
Run `make fmt` to apply gofumpt, gci, and goimports; Gos formatter enforces tab indentation and canonical spacing. Follow idiomatic naming—PascalCase for exported symbols, camelCase for internals, lowercase filenames—and keep package paths under `quantex.com/skeleton/<module>`. Group imports as standard library, third-party, then `quantex.com`, and avoid formatting-only commits.
Run `make fmt` to apply gofumpt, gci, and goimports; Gos formatter enforces tab indentation and canonical spacing. Follow idiomatic naming—PascalCase for exported symbols, camelCase for internals, lowercase filenames—and keep package paths under `quantex.com/qfixpt/<module>`. Group imports as standard library, third-party, then `quantex.com`, and avoid formatting-only commits.
## Testing Guidelines
Keep `*_test.go` files beside the code and prefer table-driven cases. Guard integration tests with `QUANTEX_ENVIRONMENT` so they hit the intended backend, and regenerate Swagger with `make swag` whenever REST contracts change. Spot-check concurrency with `go test -race ./src/<package>` and store fixtures under package-level `testdata/` directories.