Skip to content

Commit 638643f

Browse files
committed
docs(reference/config): update gen go options
1 parent d248d0f commit 638643f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/reference/config.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,16 @@ The `gen` mapping supports the following keys:
183183
- Customize the name of the db file. Defaults to `db.go`.
184184
- `output_models_file_name`:
185185
- Customize the name of the models file. Defaults to `models.go`.
186+
- `output_models_package`:
187+
- Package name of the models file. Used when models file is in a different package. Defaults to value of `package` option.
188+
- `models_package_import_path`:
189+
- Import path of the models package when models file is in a different package. Optional.
186190
- `output_querier_file_name`:
187191
- Customize the name of the querier file. Defaults to `querier.go`.
188192
- `output_copyfrom_file_name`:
189193
- Customize the name of the copyfrom file. Defaults to `copyfrom.go`.
194+
- `output_query_files_directory`:
195+
- Directory where the generated query files will be placed. Defaults to the value of `out` option.
190196
- `output_files_suffix`:
191197
- If specified the suffix will be added to the name of the generated files.
192198
- `query_parameter_limit`:

0 commit comments

Comments
 (0)