https://www.reddit.com/r/golang/comments/190prd0/osexit_in_goroutine_does_not_terminate_my_program/
AFAIK os.Exit() terminates the process, even if you run the code in a goroutine.
Example:
No comments:
Post a Comment