From bc215c44c1d91f808cc90938c3ce3b6686cdf2b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geyslan=20Greg=C3=B3rio?= Date: Wed, 30 Aug 2023 09:29:19 -0300 Subject: [PATCH] chore(prog): deprecate BPFProgType.Value() --- prog-common.go | 1 + 1 file changed, 1 insertion(+) diff --git a/prog-common.go b/prog-common.go index 29ead06d..d6385b6b 100644 --- a/prog-common.go +++ b/prog-common.go @@ -48,6 +48,7 @@ const ( BPFProgTypeSyscall ) +// Deprecated: Convert type directly instead. func (b BPFProgType) Value() uint64 { return uint64(b) } func (b BPFProgType) String() (str string) {