Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple input files #133

Open
nettnikl opened this issue Aug 23, 2024 · 0 comments
Open

Allow multiple input files #133

nettnikl opened this issue Aug 23, 2024 · 0 comments

Comments

@nettnikl
Copy link

I have two files A+B, both importing a third file C, including base types.

When i create the models.go from A and B, i get a lot of duplicates. I appreciate that the auto import includes C, but currently this approach does not properly work for me. Can we adjust the code to either:

  1. allow to output each type to the a .go file named after the source .xsd file.
  2. allow to output each type to the a dedicated .go file, named after the GoName() of the struct.
  3. allow to specify multiple files as input.

3 would be preferred, 1+2 would allow to work around by copying files around.

Br!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant