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

Interpreter: Add ability to use multiple files in .go custom generator #24

Closed
switchupcb opened this issue Apr 28, 2022 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@switchupcb
Copy link
Owner

Problem

Separating files of a .go template file results in an error if a declaration cannot be found.

Fix

Determine how to interpret the entire package before calling func Generate(gen *models.Generator) (string, error).

@switchupcb switchupcb added edge case An error occurred. enhancement New feature or request and removed edge case An error occurred. labels Apr 28, 2022
@switchupcb
Copy link
Owner Author

traefik/yaegi#731

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

No branches or pull requests

1 participant