cakturk / go-netstat

A netstat implementation written in Go
MIT License
237 stars 67 forks source link

Error in go get #15

Closed riyasyash closed 3 years ago

riyasyash commented 3 years ago

Encountering the following error on go get, am I missing something here?

go get github.com/cakturk/go-netstat/netstat
# github.com/cakturk/go-netstat/netstat
../../../../go/pkg/mod/github.com/cakturk/go-netstat@v0.0.0-20200220111822-e5b49efee7a5/netstat/netstat.go:42:9: undefined: skStates
../../../../go/pkg/mod/github.com/cakturk/go-netstat@v0.0.0-20200220111822-e5b49efee7a5/netstat/netstat.go:55:9: undefined: osTCPSocks
../../../../go/pkg/mod/github.com/cakturk/go-netstat@v0.0.0-20200220111822-e5b49efee7a5/netstat/netstat.go:61:9: undefined: osTCP6Socks
../../../../go/pkg/mod/github.com/cakturk/go-netstat@v0.0.0-20200220111822-e5b49efee7a5/netstat/netstat.go:67:9: undefined: osUDPSocks
../../../../go/pkg/mod/github.com/cakturk/go-netstat@v0.0.0-20200220111822-e5b49efee7a5/netstat/netstat.go:73:9: undefined: osUDP6Socks
riyasyash commented 3 years ago

Found out that Mac OS isn't supported 🤦