aboutsummaryrefslogtreecommitdiff
path: root/batch_benchmark_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-03-17 15:23:31 -0600
committerBen Johnson <benbjohnson@yahoo.com>2015-03-18 08:23:55 -0600
commit8c6af54aecaa6dacb488398e7460e0f20f07cc60 (patch)
tree818aae2a6fb51ecd58dd90c7d05bbc77e2a3d616 /batch_benchmark_test.go
parentMerge pull request #328 from baijum/bolt-article (diff)
downloaddedo-8c6af54aecaa6dacb488398e7460e0f20f07cc60.tar.gz
dedo-8c6af54aecaa6dacb488398e7460e0f20f07cc60.tar.xz
Implement io.WriterTo interface on Tx.
This commit moves the functionality in Tx.Copy() to Tx.WriteTo(). This allows Tx to be used as an io.WriterTo which makes it easier to mock. The Tx.Copy() function still exists but it's simply a wrapper around Tx.WriteTo().
Diffstat (limited to 'batch_benchmark_test.go')
0 files changed, 0 insertions, 0 deletions