Where appropriate, this calls log.Infof along with a return instead of log.Fatalf to ensure defered functions are actually run in those exit scenarios.
Looking at dicomutil, it could probably use some improvements and a refactor as well in general as an example program.
Where appropriate, this calls log.Infof along with a return instead of log.Fatalf to ensure defered functions are actually run in those exit scenarios.
Looking at dicomutil, it could probably use some improvements and a refactor as well in general as an example program.