We did a lot of this as part of version 3.0.0, but there are a few remaining ocurences of interface{} over any.
any is an "alias" of the old-fashioned interface{}. interface{} can be replaced wherever it occurs. any is more clear as to its purpose, which is the same as interface{}.
We did a lot of this as part of version 3.0.0, but there are a few remaining ocurences of
interface{}
overany
.any
is an "alias" of the old-fashionedinterface{}
.interface{}
can be replaced wherever it occurs.any
is more clear as to its purpose, which is the same asinterface{}
.We should use
any
wherever we can.