You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was first building this project, I littered os.Exit() everywhere because I thought that was the best way to terminate the program if there was an error. After some learning, the main() function should be the only place where this exists.
When I was first building this project, I littered
os.Exit()everywhere because I thought that was the best way to terminate the program if there was an error. After some learning, themain()function should be the only place where this exists.