A RAII utility for golang.