os.Stdout.Write()中的ACE

I’m trying to perform a pentesting to a golang program. I’m trying to execute a code through that program. I was wondering, is that possible through os.Stdout.Write()? Because this is possible in C, but I don’t know if it is also possible in golang.