On Wed, Aug 3, 2016 at 7:36 AM T L <tapir....@gmail.com> wrote: > Often, I need converting a []T to []interface{} to use the []interface as > a variable length parameter. > But converting a []T for []interface{} in a for loop is neither clean nor > efficient. >
If there was a builtin that did it, it would simply need to do the same loop. The memory representation is not the same. Thomas -- 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.