refactor: apply renamed NewBytesPool with GetBytesPool

This commit is contained in:
yusing
2025-09-02 22:46:16 +08:00
parent c128557c81
commit b051987a1c
5 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ import (
"github.com/yusing/go-proxy/internal/utils/synk"
)
var bufPool = synk.NewBytesPool()
var bufPool = synk.GetBytesPool()
// explicitly implement MarshalJSON to avoid reflection.
func (s *SystemInfo) MarshalJSON() ([]byte, error) {