refactor clonable to not rely on the resource interface (#36)
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -105,7 +105,7 @@ type GormReadWriter struct {
|
||||
Tx *gorm.DB
|
||||
}
|
||||
|
||||
// ensure that GroupRole implements the interfaces of: Resource, ClonableResource, AssignedRole and db.VetForWriter
|
||||
// ensure that GormReadWriter implements the interfaces of: Reader and Writer
|
||||
var _ Reader = (*GormReadWriter)(nil)
|
||||
var _ Writer = (*GormReadWriter)(nil)
|
||||
|
||||
|
||||
Reference in new issue
Block a user