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

10 lines
194 B
Go

package models
// Managable represents an interface which can be managed
type Managable interface {
ReadAll(string) (interface{}, error)
Create() error
Update(int64) error
Delete() error
}