syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util/pool.go

22 lines
327 B
Go
Raw Normal View History

2014-08-15 07:16:30 +00:00
// Copyright (c) 2014, Suryandaru Triandana <syndtr@gmail.com>
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// +build go1.3
package util
import (
"sync"
)
type Pool struct {
sync.Pool
}
func NewPool(cap int) *Pool {
return &Pool{}
}