Nice is a very strong word. This is the alternative approach that doesn't require a value:
https://play.golang.org/p/FoA-GHcr56s (now to the whole list) On Tue, 2018-12-11 at 10:39 +0800, Huiqiang Li wrote: > Nice! i think this is the right answer. > > Dan Kortschak <d...@kortschak.io> 于2018年12月11日周二 上午10:34写道: > > > > > https://play.golang.org/p/VWPb_AcgUrl -- 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.