feat: vendor, makefiles, build settings

This commit is contained in:
2026-04-30 09:43:22 +02:00
parent 0892c33b13
commit ed84610696
94 changed files with 14229 additions and 11 deletions
@@ -0,0 +1,26 @@
// +build go1.3
package quotedprintable
import (
"bytes"
"sync"
)
var bufPool = sync.Pool{
New: func() interface{} {
return new(bytes.Buffer)
},
}
func getBuffer() *bytes.Buffer {
return bufPool.Get().(*bytes.Buffer)
}
func putBuffer(buf *bytes.Buffer) {
if buf.Len() > 1024 {
return
}
buf.Reset()
bufPool.Put(buf)
}