Alan, like your approach and nearly all your solutions (any quibbling I have isn't worth mentioning).
And best of all, I think it would make excellent godoc documentation. Thanks for taking the time to write this up. -- 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.