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

Replace typematch.Itab? #344

Open
quasilyte opened this issue Jan 3, 2022 · 0 comments
Open

Replace typematch.Itab? #344

quasilyte opened this issue Jan 3, 2022 · 0 comments

Comments

@quasilyte
Copy link
Owner

I'm not sure we need this enter/leave scope semantics.
Now imports are func-scoped and there is no way to create a fine-grained scoping control of imports.
Docs may need to be updated accordingly.

A simple map[string]string should be good enough.
The same map can be then passed to gogrep as gogrep.CompileConfig.Imports.

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