Setup boilerplate gorm , and admin part
This commit is contained in:
12
models/crudInterface.go
Normal file
12
models/crudInterface.go
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by VoidArtanis on 10/24/2017
|
||||
*/
|
||||
|
||||
package models
|
||||
|
||||
type SimpleCRUD interface {
|
||||
Create() (bool,error)
|
||||
Update()( bool,error)
|
||||
Delete() (bool,error)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user