cilium / ebpf

ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.

Home Page:https://ebpf-go.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

internal: replace Memoize with sync.OnceValues (Go 1.21)

lmb opened this issue · comments

Go 1.21 added https://pkg.go.dev/sync#OnceValues. Replace our home grown internal.Memoize with it.

Closing, as #1240 was merged.