v0.8.1
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 |
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 |