forked from ebhomengo/niki
10 lines
288 B
Go
10 lines
288 B
Go
|
package entitypiggybank
|
||
|
|
||
|
type PiggyBankServices interface {
|
||
|
AddPiggyBank([]PiggyBank) error
|
||
|
EditPiggyBank(piggyID uint, piggyBankInput PiggyBank) error
|
||
|
DeletePiggyBank(piggyID uint) error
|
||
|
GetAllPiggyBank() ([]PiggyBank, error)
|
||
|
GetPiggyBankByID(piggyBankID uint) (PiggyBank, error)
|
||
|
}
|