From 77051cc6abfa95714a52a0c876a6a7c65f77a340 Mon Sep 17 00:00:00 2001 From: Kimmo Lehto Date: Fri, 12 Jan 2024 16:11:51 +0200 Subject: [PATCH] A couple of comments Signed-off-by: Kimmo Lehto --- version.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/version.go b/version.go index 3badcda..0f2faae 100644 --- a/version.go +++ b/version.go @@ -15,7 +15,9 @@ const ( maxSegments = 3 ) +// this contains the fields that can be compared using go's equality operator type comparableFields struct { + // arrays (not slices) of basic types are comparable in go segments [maxSegments]int numSegments int