github.com/petergtz/multicloser (go): A Go library that handles io.Closers correctly in case of errors
Keywords: error-handling|errors|golang|io