panic: reflect: reflect.Value.Set using value obtained using unexported field
Closed this issue · 1 comments
abicky commented
mergo.Mege
panics when the following code is executed:
package main
import "github.com/imdario/mergo"
type structWithBlankField struct {
_ struct{}
A struct{}
}
func main() {
mergo.Merge(&structWithBlankField{}, structWithBlankField{}, mergo.WithOverride)
}
xscode-auto-reply commented
Thanks for opening a new issue. The team has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/imdario/mergo