Replace all interface{} to any
This commit is contained in:
@ -38,7 +38,7 @@ func (p Packet) Scan(fields ...FieldDecoder) error {
|
||||
}
|
||||
|
||||
var bufPool = sync.Pool{
|
||||
New: func() interface{} {
|
||||
New: func() any {
|
||||
return new(bytes.Buffer)
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user