vikunja-api/pkg/models/crudable.go
2018-10-31 12:42:38 +00:00

10 lines
188 B
Go

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