rjeczalik / interfaces

Code generation tools for Go.
MIT License
423 stars 32 forks source link

feature request: Generate multiple interfaces into the same file #34

Open OscarVanL opened 2 years ago

OscarVanL commented 2 years ago

I want to generate interfaces over the GCP Datastore library. This has four structs: Client, Transaction, Iterator, and Commit.

Ideally I'd like to use interfacer to generate these all into the same target file, perhaps -for and -as could take multiple arguments to a single -o output file.

Unless I am mistaken, I believe this is not currently possible. It would be a nice feature :)