Hi, I am new to GO. I was trying to import a package “pcap” for my application. I am using Visual studio code on windows 10 pc. The code is as Follows,
It looks like you try to use this module. For me, go get works:
$ go get github.com/google/gopacket/pcap
go: downloading github.com/google/gopacket v1.1.17
go: found github.com/google/gopacket/pcap in github.com/google/gopacket v1.1.17