ebpf icon indicating copy to clipboard operation
ebpf copied to clipboard

[Go 1.22] examples: avoid depending on internal packages

Open ti-mo opened this issue 1 year ago • 1 comments
trafficstars

Technically this builds fine in CI, but these are supposed to function from outside the repo's ebpf module as well. These internal references were added after we removed the separate Go module from examples/.

Supersedes #1288

Thanks @antoniomerlin for reporting!

ti-mo avatar Jan 02 '24 15:01 ti-mo

Turns out binary.NativeEndian was only merged in Go 1.21. Converting to draft until we drop support for 1.20.

ti-mo avatar Jan 02 '24 15:01 ti-mo

@ti-mo I think this should be good now

paulcacheux avatar Mar 13 '24 12:03 paulcacheux

@ti-mo can you fix the DCO violation?

lmb avatar Mar 22 '24 10:03 lmb