diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-03-17 15:23:31 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-03-18 08:23:55 -0600 |
commit | 8c6af54aecaa6dacb488398e7460e0f20f07cc60 (patch) | |
tree | 818aae2a6fb51ecd58dd90c7d05bbc77e2a3d616 /batch_benchmark_test.go | |
parent | Merge pull request #328 from baijum/bolt-article (diff) | |
download | dedo-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