diff options
author | Andy Bakun <abakun@easypost.com> | 2018-02-03 09:30:12 +0000 |
---|---|---|
committer | Andy Bakun <abakun@easypost.com> | 2018-02-03 09:30:12 +0000 |
commit | 7dba5968392517e366ba4cfe4b3a44f9375849ba (patch) | |
tree | 7338a5f78613b7b018c2e962d5b56e8e95cd6709 /contrib/barcode/barcode_test.go | |
parent | db5f2eb6b1ec30bc26c7454d8341249aeb8fbd36 (diff) |
sort the objs in the output more consistently
When CatalogSort is enabled, the sort.Strings routine is used to order
the "keys" used for the various objects being put into the PDF. Use
sort.SliceStable instead, and specify a function Less function that, if
possible, uses an attribute of the objs being sorted. This is more
deterministic.
Diffstat (limited to 'contrib/barcode/barcode_test.go')
0 files changed, 0 insertions, 0 deletions