Hi,

I made a handy tool that converts a file in a pkgs to a src file with a 
[]byte var. Then you can compile arbitrary files into a pkg. I found it 
handy for use via go generate.

https://github.com/flazz/togo

If this is a solved problem (or a bad approach) let me know, I'll amend the 
README with alternatives.

Hope it helps anyone

-Franco

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to