Skip to content

v0.8.1

Compare
Choose a tag to compare
@ggicci ggicci released this 20 Apr 20:23
· 4 commits to main since this release

Now owl.ResolveTo() can take multi-level pointer values as the target for resolving to.

resolver, err := owl.New(User{})
var user = new(User)
Code v0.8.0 v0.8.1+
resolver.ResolveTo(user) ok ok
resolver.ResolveTo(&user) error ok