summaryrefslogtreecommitdiff
path: root/template_impl.go
diff options
context:
space:
mode:
authorAndy Bakun <abakun@easypost.com>2018-02-03 09:30:12 +0000
committerAndy Bakun <abakun@easypost.com>2018-02-03 09:30:12 +0000
commit7dba5968392517e366ba4cfe4b3a44f9375849ba (patch)
tree7338a5f78613b7b018c2e962d5b56e8e95cd6709 /template_impl.go
parentdb5f2eb6b1ec30bc26c7454d8341249aeb8fbd36 (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 'template_impl.go')
0 files changed, 0 insertions, 0 deletions