Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expr-lang/expr
/ Published
Method
Published
test/playground/env.go:44–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
}
43
44
func
(p Post) Published() bool {
45
return
!p.PublishDate.IsZero()
46
}
47
48
func
(p Post) After(date time.Time) bool {
49
return
p.PublishDate.After(date)
Callers
1
RecentPosts
Method · 0.80
Calls
1
IsZero
Method · 0.45
Tested by
no test coverage detected