vikunja-api/models/crudable.go

10 lines
133 B
Go
Raw Normal View History

package models
type CRUDable interface {
Create()
ReadOne(int64) error
ReadAll(*User) (interface{}, error)
Update()
Delete()
}