aboutsummaryrefslogtreecommitdiffhomepage
path: root/compare/compare.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-04-21 10:59:13 +0200
committerBjørn Erik Pedersen <[email protected]>2022-04-23 22:22:50 +0200
commit9a888c243adc2be4b630f29eac7def742803d8a4 (patch)
treefbb3bfed3b257c825ffb479550b06e2e010b63c6 /compare/compare.go
parent05b45c35c8067b7c4a6c99fec64f124739d2e7fd (diff)
downloadhugo-9a888c243adc2be4b630f29eac7def742803d8a4.tar.gz
hugo-9a888c243adc2be4b630f29eac7def742803d8a4.zip
Some godoc adjustments
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
}