Using TUN/TAP in go or how to write VPN

For some reason I needed to write my own VPN… I choosed golang and most of coding was done in 3 hours, next 3 hours was adding some features. But now I want to show how easy is to write some “vpn” (example is unencrypted tunnel, not realy vpn) in go for linux. P.S.: if you want to see final result of my 6+ hours of work (decentralized, encrypted and so on), please visit github.com/kanocz/lcvpn.