Panic, defer and Recover in Golang
Go throws panic when there is an error in runtime. The panic stops the flow of the program and produces Error. This post focuses on panic, defer and the recover method in Go. How panic works in Golang In Go, panic occurs when at runtime the code is doing something that cannot be done. E.g. […]
Panic, defer and Recover in Golang Read More »