What exactly Recover method does?

Hi there
Could you please help to understand the Recover method by example and explanation

Do you mean the recover function? In which case you should read this https://blog.golang.org/defer-panic-and-recover.

Otherwise you need to tell us what type the Recover method you are thinking about belongs too. Without any context I can’t tell you anymore.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.