Forgive if I'm wrong, I'm slightly lost in pointers. I have a field type *time.Time, I load a record where that is set, create a changeset on it, change the field to nil, update, and hit a panic here:
|
return !ot.Equal(new.(time.Time)) |
.
I think that sql.NullTime works fine. And in my case I don't really need the changeset, so I would call this low-priority. Thanks.
Forgive if I'm wrong, I'm slightly lost in pointers. I have a field type *time.Time, I load a record where that is set, create a changeset on it, change the field to nil, update, and hit a panic here:
rel/changeset.go
Line 27 in e5555d0
I think that sql.NullTime works fine. And in my case I don't really need the changeset, so I would call this low-priority. Thanks.