I can't replicate your issue. I have create following example, which works perfectly for me on Linux, AMD64 and go 1.9:
https://gist.github.com/ulikunitz/d5335e0667fb57b2d12c8ffa5404b031 You should create something comparable so that others can test your code. -- 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.