From 01ea604b12dbbc51e5b913990cc86043875a3b63 Mon Sep 17 00:00:00 2001 From: lotusirous <5105237+lotusirous@users.noreply.github.com> Date: Mon, 13 Dec 2021 18:39:04 +0900 Subject: [PATCH] Minor improvement --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 4d3a54c..dec0aa0 100644 --- a/main.go +++ b/main.go @@ -121,7 +121,7 @@ func main() { fmt.Fprintf(fd, "Cannot digest group: %v", err) os.Exit(1) } - // sort by key since the go map is unordered + // sort by key since the map is unordered keys := make([]string, 0, len(g)) for k := range hashes { keys = append(keys, k)