MCPcopy Create free account
hub / github.com/expr-lang/expr / Date2

Method Date2

test/issues/823/issue_test.go:69–71  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

67}
68
69func (e *envWithMethods) Date2(ctx context.Context) time.Time {
70 return time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC)
71}
72
73func TestIssue823_EnvMethods(t *testing.T) {
74 p, err := expr.Compile(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected