On 20 Apr., 10:57, Loa Lind <
loal...@gmail.com> wrote:
> I want to find if this object is an instance of this class - does Go
> have a method which reminds of Java's instanceof?
>
There are no classes. So the question can not be answered.
The only questions which can be answered are:
Is the var of a given type?
Is the var of a given interface?
Both question are quite boring, because of the static type system. You
already know the type because you have to declare the var with the
type. And the type can not change after that.