mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
convert uses of interface{} to any
Done via:
find . -name "*.go" | xargs sed -i -E 's/interface\{\}/any/g'
PiperOrigin-RevId: 487033228
This commit is contained in:
committed by
gVisor bot
parent
c82b70015d
commit
d8aa09e04c
@@ -52,7 +52,7 @@ import (
|
||||
//
|
||||
// String() implementations must ensure that the message struct doesn't escape.
|
||||
// For instance, directly passing the struct to fmt.Sprintf() escapes it
|
||||
// because of the implicit conversion to interface{}.
|
||||
// because of the implicit conversion to any.
|
||||
|
||||
type marshalFunc func([]byte) []byte
|
||||
type unmarshalFunc func([]byte) ([]byte, bool)
|
||||
|
||||
Reference in New Issue
Block a user