mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-05 05:07:38 +08:00
12 lines
188 B
Go
12 lines
188 B
Go
// +build !go1.3
|
|
|
|
package v1
|
|
|
|
// Stub version of buffer_pool.go for Go 1.2, which doesn't have sync.Pool.
|
|
|
|
func Pool(b []byte) {}
|
|
|
|
func makeSlice(n int) []byte {
|
|
return make([]byte, n)
|
|
}
|