aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/pool.go
blob: 1f7fdd41fe4edda0c6083fac96fa16d71ab80d59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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{}
}