vikunja-api/pkg/models/crudable.go
2018-11-09 10:30:17 +00:00

10 lines
193 B
Go

package models
// CRUDable defines the crud methods
type CRUDable interface {
Create(*User) error
ReadOne() error
ReadAll(*User, int) (interface{}, error)
Update() error
Delete() error
}