Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(reference/config): update gen go options
  • Loading branch information
berk-karaal committed Mar 5, 2025
commit 638643fc0786fe32d3bf224dd33ccfbb44bcc192
6 changes: 6 additions & 0 deletions docs/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,16 @@ The `gen` mapping supports the following keys:
- Customize the name of the db file. Defaults to `db.go`.
- `output_models_file_name`:
- Customize the name of the models file. Defaults to `models.go`.
- `output_models_package`:
- Package name of the models file. Used when models file is in a different package. Defaults to value of `package` option.
- `models_package_import_path`:
- Import path of the models package when models file is in a different package. Optional.
- `output_querier_file_name`:
- Customize the name of the querier file. Defaults to `querier.go`.
- `output_copyfrom_file_name`:
- Customize the name of the copyfrom file. Defaults to `copyfrom.go`.
- `output_query_files_directory`:
- Directory where the generated query files will be placed. Defaults to the value of `out` option.
- `output_files_suffix`:
- If specified the suffix will be added to the name of the generated files.
- `query_parameter_limit`:
Expand Down