1
0

Implemented Create and Update methods on list

This commit is contained in:
kolaente
2018-07-09 23:17:19 +02:00
parent 9e8f13edf6
commit b1de837c4f
12 changed files with 152 additions and 29 deletions

View File

@ -1,9 +1,9 @@
package models
type CRUDable interface {
Create()
Create(*User) (error)
ReadOne(int64) error
ReadAll(*User) (interface{}, error)
Update()
Update(int64, *User) error
Delete()
}