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
Tutorials
+12.8k Elastic Search : Mapping date format and sort by date
+7.6k Golang : Sort lines of text example
+11.7k Golang : Qt progress dialog example
+7.7k Golang : Find duplicate files with filepath.Walk
+22.8k Golang : Daemonizing a simple web server process example
+4.8k PHP : Get client IP address
+11.5k Golang : Get terminal width and height example
+4.2k Python : Convert(cast) string to bytes example
+14.5k Golang : Convert date format and separator yyyy-mm-dd to dd-mm-yyyy
+18.9k Golang : Count number of digits from given integer value
+7.8k Golang : Get final balance from bit coin address example
+9.8k Golang : Natural string sorting example