Previously, the NewSetFromSlice methods required the input slices to be
typed as []interface{}. This can be cumbersome because a new slice with
that type actually needs to be created, and it's elements converted to
interface{} every time in the client application.
Now, the NewSetFromSlice methods accept a generic interface{} type and
use reflection to convert whatever the source slice was into the
requisite interface{}s.
Previously, the NewSetFromSlice methods required the input slices to be typed as []interface{}. This can be cumbersome because a new slice with that type actually needs to be created, and it's elements converted to interface{} every time in the client application.
Now, the NewSetFromSlice methods accept a generic interface{} type and use reflection to convert whatever the source slice was into the requisite interface{}s.
This addresses #70