Created
February 7, 2018 06:19
-
-
Save tomtsang/9aa0d19052d5b01e9b7148dd4d72f99c to your computer and use it in GitHub Desktop.
golang-err-exit1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if err != nil { | |
fmt.Printf("Program stopping with error %v", err) | |
os.Exit(1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment