Answer the question
In order to leave comments, you need to log in
How to get a reflect structure?
Now I have to check that the incoming interface{} contains a struct Error type, get it and do something with it. Here I threw something like what I want to do, but naturally it does not work) https://play.golang.org/p/LdLJguTXB8
How to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question