Skip to content

Added BlockExternal and AllowList/DenyList importer interfaces#152

Open
rabits wants to merge 1 commit intocosmos72:masterfrom
rabits:import_block_external_and_lists
Open

Added BlockExternal and AllowList/DenyList importer interfaces#152
rabits wants to merge 1 commit intocosmos72:masterfrom
rabits:import_block_external_and_lists

Conversation

@rabits
Copy link
Copy Markdown
Contributor

@rabits rabits commented Nov 27, 2023

This change allows you to control gomacro interpreter behavior for imports - you can simply disable the loading of external modules (block go get) and define Allow and Block lists to not much mess with imports.Packages.

Fixes: #151

@rabits
Copy link
Copy Markdown
Contributor Author

rabits commented Dec 3, 2023

Hi @cosmos72 , sorry to bother again but maybe you missed this change I created to close #151 ?

@cosmos72
Copy link
Copy Markdown
Owner

cosmos72 commented Dec 6, 2023

I have seen this PR, thanks.
The idea is useful: it just needs some (minor) improvements, I'll merge it ASAP

@rabits
Copy link
Copy Markdown
Contributor Author

rabits commented Dec 23, 2023

Hi @cosmos72 , maybe I can help with the minor improvements you've mentioned? What kind of changes you would like to see before merging it?

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

Successfully merging this pull request may close these issues.

Way to disable go get import and enforce to use only defined import list

2 participants