On Tue, Jul 25, 2017 at 9:53 PM, Cristian Adamo
<cristian.ad...@gmail.com> wrote:
>
> I'm looking for a way to compile an in memory go file and execute it within
> a go program.I have been looking around the go source code and found that
> perhaps something from the cmd/go/internal package could be used to do such
> task.

There is no support for that at present, and no real advantage since
the result would have to be written to disk anyhow in order to use it.
I suggest using the ordinary compilation process on a RAM disk.

Ian

-- 
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