leakcheck analyses program syscalls and checks whether:
- Files are properly closed
 - Open files are not deleted
 - Connections are closed properly
 - Servers are stopped properly
 -  With 
-temp, whether tests use only temp directory for tests. 
Currently supported:
- Linux amd64
 - Linux 386
 - Mac
 - Windows
 
This can be used together with Go tests:
# checking for proper connection and file use
go test -exec leakcheck .
# additionally checking that all files are created in temp
go test -exec "leakcheck -temp" .