UnnoTed / fileb0x

a better customizable tool to embed files in go; also update embedded files remotely without restarting the server
MIT License
634 stars 53 forks source link

Add option to disable prefix #33

Closed bobheadxi closed 6 years ago

bobheadxi commented 6 years ago

Hello! Awesome library, am currently looking into using this as a replacement to go-bindata 😁

Right now, output files will always have the a prefix, and while I can see why, I think it'd be nice to have the option to disable this (in my case, I want it compiled to a file called compiled.go). This PR adds an option (false by default) to disable this behaviour.

I would be happy to make any changes @UnnoTed if you deem them necessary, and thanks your work!