- Change your package import paths from
github.com/Kamva/mgm/v2
togithub.com/Kamva/v3
.
- built-in
ID
field changed json tag value from_id
toid
f665e15
-
Change your package import paths from
github.com/Kamva/mgm
togithub.com/Kamva/v3
. -
methods
Save
andSaveWithContext
was removed from collections.- To Create an entity use the
Create
orCreateWithCtx
methods. - To update an entity use the
Update
orUpdateWithCtx
methods.
- To Create an entity use the
-
method
IsNew
method was removed from themodel
interface, don't use it.