SIGN IN SIGN UP

Add a generic sync.Pool wrapper to go library

Since we dropped support of Go 1.18-, use generic to avoid dealing with
type assertions with interface{}/any.

While I'm here, also remove the usages of ioutil, as that's officially
marked as deprecated in Go 1.19.

Client: go
Y
Yuxuan 'fishy' Wang committed
bdfde857a802e443a2cab1717744dee8e56cbe76
Parent: 7ae180b
Committed by Yuxuan 'fishy' Wang <fishywang@gmail.com> on 8/10/2022, 12:41:45 AM