google / google/gopacket

package pfring incapacitates 'gopls'

Open
#1,096 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

My development ubuntu machine does not have the pfring (https://www.ntop.org/guides/pf_ring/index.html ) installed. Without this, VSCode's gopls is unusable.

I'm not using pfring myself, so in my local branch I removed references to pfring and now gopls is happy.

Perhaps adding a separate go.mod in the pfring/ and examples/pfdump/ directory might also fix the problem?

---

I assume the problem is with the gopls backend, and not VSCode specific.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.