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

Feature: add ability to completely clean embedded binary content at run time #73

Open
wtask opened this issue Feb 4, 2021 · 1 comment

Comments

@wtask
Copy link

wtask commented Feb 4, 2021

Use case: the go-bindata is used to embed text/template and html/template sources which require to "compile" them (Parse) before use.
After parsing there are source and parsed template which increase used RAM.
Will be useful to have something like cleanAsset(name string) to drop any data of underlying var and remove it key from _bindata map.

@Noofbiz
Copy link

Noofbiz commented Feb 4, 2021

Could be nice for games too, removing textures once they're uploaded to the gpu

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

2 participants