Skip to content

v1.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Aug 10:34
· 53 commits to main since this release

feat(context): adding lazy evaluated value

Eg:

oops.
    With("permission", func() any { return "post.create" }).
    User("user-42", map[string]any{"foobar": func() float32 { return decodeSomething(something) }}).
    Tenant("org-42", map[string]any{"foobar": func() string { return decodeSomething(something) }}).
    Errorf("my error")