File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -183,10 +183,16 @@ The `gen` mapping supports the following keys:
183
183
- Customize the name of the db file. Defaults to `db.go`.
184
184
- `output_models_file_name` :
185
185
- 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.
186
190
- `output_querier_file_name` :
187
191
- Customize the name of the querier file. Defaults to `querier.go`.
188
192
- `output_copyfrom_file_name` :
189
193
- 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.
190
196
- `output_files_suffix` :
191
197
- If specified the suffix will be added to the name of the generated files.
192
198
- `query_parameter_limit` :
You can’t perform that action at this time.
0 commit comments