aboutsummaryrefslogtreecommitdiffhomepage
path: root/compare/compare.go
diff options
context:
space:
mode:
Diffstat (limited to 'compare/compare.go')
-rw-r--r--compare/compare.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/compare/compare.go b/compare/compare.go
index a0d2b3239..de97690c7 100644
--- a/compare/compare.go
+++ b/compare/compare.go
@@ -17,12 +17,15 @@ package compare
// The semantics of equals is that the two value are interchangeable
// in the Hugo templates.
type Eqer interface {
+ // Eq returns whether this value is equal to the other.
+ // This is for internal use.
Eq(other any) bool
}
// ProbablyEqer is an equal check that may return false positives, but never
// a false negative.
type ProbablyEqer interface {
+ // For internal use.
ProbablyEq(other any) bool
}