Call to os.Exit or log.Fatal and friends made in function using defer CRT-D0011
Bug risk
Major
6 months ago4 years old
os.Exit will exit, and defer func(){...}(...) will not run
 58		} else {
 59			fmt.Println(version)
 60		}
 61		os.Exit(exitOk) 62	}
 63
 64	// Event channel