Progress meow

This commit is contained in:
Melody Becker 2024-09-12 08:56:57 +02:00
parent 490b788e7b
commit 814316ab1e
11 changed files with 279 additions and 35 deletions

View file

@ -95,7 +95,7 @@ func NewDecoderPool() *DecoderPool {
}
// Decode some value with gob
func (p *DecoderPool) Encode(raw []byte, target any) error {
func (p *DecoderPool) Decode(raw []byte, target any) error {
var encoder *gobDecoder
// First try to find an available encoder
// Read only lock should be fine here since locks are atomic i