aboutsummaryrefslogtreecommitdiffstats
path: root/prog/decodeexec.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2025-12-19 12:52:30 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-12-22 02:13:00 +0000
commita83befa0d111a0ba6fac52d763e93c76a2ef94d4 (patch)
tree7d3c28b24229429936a631e8ceb24135856b257d /prog/decodeexec.go
parent8fb7048c5117ccb592deb5e8e4a62027e6d399cf (diff)
all: use any instead of interface{}
Any is the preferred over interface{} now in Go.
Diffstat (limited to 'prog/decodeexec.go')
-rw-r--r--prog/decodeexec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/decodeexec.go b/prog/decodeexec.go
index e6921c314..4e7bc8718 100644
--- a/prog/decodeexec.go
+++ b/prog/decodeexec.go
@@ -35,7 +35,7 @@ type ExecCopyout struct {
Size uint64
}
-type ExecArg interface{} // one of ExecArg*
+type ExecArg any // one of ExecArg*
type ExecArgConst struct {
Size uint64