package utilities import "io" func CloseBodyAndCheckError(Body io.ReadCloser) { err := Body.Close() CheckError(err) }