From 942d2a84565d538d759da0d68cb80e99d5c25b2b Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 26 Dec 2024 13:45:37 +0000 Subject: [PATCH] whitespace fix --- day-24/internal/one/zwire.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/day-24/internal/one/zwire.go b/day-24/internal/one/zwire.go index cac691b..26d3038 100644 --- a/day-24/internal/one/zwire.go +++ b/day-24/internal/one/zwire.go @@ -7,9 +7,11 @@ type byName []zWire func (b byName) Len() int { return len(b) } + func (b byName) Less(i, j int) bool { return b[i].name < b[j].name } + func (b byName) Swap(i, j int) { b[i], b[j] = b[j], b[i] }