diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-04-21 10:59:13 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-04-23 22:22:50 +0200 |
commit | 9a888c243adc2be4b630f29eac7def742803d8a4 (patch) | |
tree | fbb3bfed3b257c825ffb479550b06e2e010b63c6 /compare/compare.go | |
parent | 05b45c35c8067b7c4a6c99fec64f124739d2e7fd (diff) | |
download | hugo-9a888c243adc2be4b630f29eac7def742803d8a4.tar.gz hugo-9a888c243adc2be4b630f29eac7def742803d8a4.zip |
Some godoc adjustments
Diffstat (limited to 'compare/compare.go')
-rw-r--r-- | compare/compare.go | 3 |
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 } |