all: use any instead of interface{}
My favorite part of generics. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
committed by
Josh Bleecher Snyder
parent
5f176f24db
commit
0868329936
@@ -256,7 +256,7 @@ func EncodeLogTailMetricsDelta() string {
|
||||
}
|
||||
|
||||
var deltaPool = &sync.Pool{
|
||||
New: func() interface{} {
|
||||
New: func() any {
|
||||
return new(deltaEncBuf)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user