Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expr-lang/expr
/ TimeEqualString
Method
TimeEqualString
test/mock/mock.go:108–110 ·
view source on GitHub ↗
(a time.Time, s string)
Source
from the content-addressed store, hash-verified
106
}
107
108
func
(p Env) TimeEqualString(a time.Time, s string) bool {
109
return
a.Format(
"2006-01-02"
) == s
110
}
111
112
func
(p Env) GetInt() int {
113
return
p.Int
Callers
nothing calls this directly
Calls
1
Format
Method · 0.80
Tested by
no test coverage detected