On Tue, Feb 27, 2018 at 4:25 PM <[email protected]> wrote:
> Why doesn't work this :
Because types []string and []interface{} are different and not assignable
to each other.
> and Why does it work? :
Because type string implements interface{} (as any other type does),
string is assignable to a variable of type interface{}.
--
-j
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.