I'd say your case isn't dissimilar to this one:
https://godoc.org/gopkg.in/mgo.v2#Iter.All
>From a brief glance at your code, I'd think that using interface{}
rather than []interface{}
is a reasonable approach. It could actually save the conversion to
[]interface{} completely
in some places (for e
I have a public API that takes `...interface{}` as an argument. (For
reference: https://godoc.org/github.com/flimzy/kivik#DB.BulkDocs )
I'm considering changing this to instead take `interface{}` as an argument,
then using reflection to:
- Validate that the underlying type is an array
- Co