Konfi-Castle-Kasino/pkg/models/managable.go
kolaente 4de30c61a0
All checks were successful
continuous-integration/drone/push Build is passing
Fixed lint
2019-09-05 21:35:07 +02:00

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
}