mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Some godoc adjustments
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user