10 lines
133 B
Go
10 lines
133 B
Go
|
package models
|
||
|
|
||
|
type CRUDable interface {
|
||
|
Create()
|
||
|
ReadOne(int64) error
|
||
|
ReadAll(*User) (interface{}, error)
|
||
|
Update()
|
||
|
Delete()
|
||
|
}
|