vikunja-api/models/crudable.go

10 lines
182 B
Go
Raw Normal View History

package models
type CRUDable interface {
Create(*User) (error)
ReadOne(int64) error
ReadAll(*User) (interface{}, error)
Update(int64, *User) error
2018-07-10 13:27:25 +02:00
Delete(int64, *User) error
}