Golang : alternative to os.Exit() function




Just a quick note on the alternative to os.Exit() function, which is the syscall.Exit() function. Both functions behave the same as well and in fact underneath os.Exit() function is syscall.Exit()





By Adam Ng

IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.


Advertisement