You can make an auto-run generator without needing to compile an application. Create a custom DSL and have that distributed with a binary that can read it and behave accordingly.
But if you do need that, for whatever reason, say allow more complex scenarios / higher degree of customization, then you can make installing Go a requirement or you can redistribute Go (as per what the Go license allows you). After that use it from within the application in a custom manner by creating the command as a proxy to the Go binary along with any other params needed for your app to generate the binary. Hope it helps. P.S. Don't !!! if you want replies, I hardly think that less than 24 hours reply time warrants this and is extremely rude. On Saturday, March 4, 2017 at 3:00:13 PM UTC, erfang...@gmail.com wrote: > > i want make a autorun generator , mean this make a string code and next > build output file(as golang). > > how can do this? > -- 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.