Closed h4yfans closed 4 years ago
os.Exit(1) is unreachable. This code can never be executed because of a log.Fatal(err). It's doing the same thing with Log.Fatal(err).
os.Exit(1)
log.Fatal(err)
Log.Fatal(err)
os.Exit(1)
is unreachable. This code can never be executed because of alog.Fatal(err)
. It's doing the same thing withLog.Fatal(err)
.