aboutsummaryrefslogtreecommitdiff
path: root/tx.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-03-21 08:45:34 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-03-21 08:45:34 -0600
commit1c7b59a4c221bde00f84a1873fca7ad0a27b0131 (patch)
tree53a318271e854c56a97d9a8b18c39553802419f7 /tx.go
parentFix Bucket.ForEach() comment. (diff)
parentFix Tx.Buckets() sort order. (diff)
downloaddedo-1c7b59a4c221bde00f84a1873fca7ad0a27b0131.tar.gz
dedo-1c7b59a4c221bde00f84a1873fca7ad0a27b0131.tar.xz
Merge pull request #65 from benbjohnson/fix-tx-buckets-sort-order
Fix Tx.Buckets() sort order.
Diffstat (limited to 'tx.go')
-rw-r--r--tx.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tx.go b/tx.go
index 53f0456..ae6d103 100644
--- a/tx.go
+++ b/tx.go
@@ -89,6 +89,7 @@ func (t *Tx) Buckets() []*Bucket {
}
buckets = append(buckets, bucket)
}
+ sort.Sort(bucketsByName(buckets))
return buckets
}