the example you have given is incomplete, but the most likely reason you're not being successful is that you are not setting correctly headers for multipart/mixed mime types. i've created a full working example here, hopefully this helps:
https://play.golang.org/p/xVqUDN7OGt for more info on multipart formats: https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html -- 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.