Erro Handling
About
In Go, error handling works a bit differently. You should write your functions in a way that errors should not crash the application.
Exit with panic
You can exit the program ungracefully with panic()
.
Last updated