Konfi-Castle-Kasino/pkg/models/managable.go

10 lines
194 B
Go
Raw Normal View History

package models
2019-09-05 19:35:07 +00:00
// Managable represents an interface which can be managed
type Managable interface {
ReadAll(string) (interface{}, error)
Create() error
Update(int64) error
Delete() error
}