I'm trying to use a set library I found on the web with a slice of strings. The set is meant to be able to take generic types however when I try to pass in a slice of strings I get:
cannot use group_users (type []string) as type []interface{} in argument to mapset.NewSetFromSlice
Is there a way to use the function without creating a new slice with the elements being type interface{} ?
The set library can be found here:
I know this is probably something simple that I'm doing wrong but I can't seem find the answer