golang write with file interface and buffer io interface
cat file program