Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ Equal
Method
Equal
test/playground/env.go:65–67 ·
view source on GitHub ↗
(other Post)
Source
from the content-addressed store, hash-verified
63
}
64
65
func
(p Post) Equal(other Post) bool {
66
return
p.Compare(other) == 0
67
}
68
69
func
(p Post) IsZero() bool {
70
return
p.ID == 0 && p.Title ==
""
&& p.Content ==
""
&& p.PublishDate.IsZero()
Callers
nothing calls this directly
Calls
1
Compare
Method · 0.95
Tested by
no test coverage detected