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
Hi, I am new with golang and I tried to use your library and I get the following error
middlewares/main.go:76: cannot use model (type models.Model) as type mongodm.IDocumentBase in argument to ModelCollection.New:
models.Model does not implement mongodm.IDocumentBase (DefaultValidate method has pointer receiver)
I have emmbeded the struct mongodm.DocumentBase on my definition, what is my problem ?
The text was updated successfully, but these errors were encountered:
Hi, I am new with golang and I tried to use your library and I get the following error
I have emmbeded the struct
mongodm.DocumentBase
on my definition, what is my problem ?The text was updated successfully, but these errors were encountered: