You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error after updating to the most recent version of mergo:
imdario/mergo/merge.go:268:25: newSlice.Index(i).IsZero undefined (type reflect.Value has no field or method IsZero)
My Go version is 1.12.15. I'm wondering if IsZero was added into a more recent version of Go? Any chance this part of the codebase can be backwards-compatible somehow? Or is something else at play here? Checking out 4d20b46 gets rid of the problem for me.
The text was updated successfully, but these errors were encountered:
Closing the issue as the code using IsZero is gone after reverting PR #105. I'll take into account for future PRs to keep backward compatibility.
In any case, keep in mind that the official support policy of Go is to keep the last two major releases. Go 1.13 is no longer supported by the Go team.
Thanks! Noted re: Go major versions, though I actually have to run on an even older version of Go (1.12) when I deploy to Google App Engine. They do have an issue with not keeping up to date generally, but I don't think that kind of production scenario is uncommon.
I'm getting this error after updating to the most recent version of mergo:
My Go version is 1.12.15. I'm wondering if IsZero was added into a more recent version of Go? Any chance this part of the codebase can be backwards-compatible somehow? Or is something else at play here? Checking out
4d20b46
gets rid of the problem for me.The text was updated successfully, but these errors were encountered: