Packet Capture, Injection, and Analysis with Gopacket
devdungeon.com
devdungeon.com
A minor issue, on your second snippet (open devices for live capture), you miss the "github.com/google/gopacket" import.
It would be interesting to see how it performs under load. After all, that's what Go is meant for. I'll think about writing some code to test that out.