it looks like this way works: https://stackoverflow.com/a/43918797/12211419
know of any others? -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/209ef1a3-8205-4205-bdc3-0ee8c1c33039%40googlegroups.com.