forked from ebhomengo/niki
13 lines
173 B
Go
13 lines
173 B
Go
|
package piggybankvalidator
|
||
|
|
||
|
type Repository interface {
|
||
|
}
|
||
|
|
||
|
type Validator struct {
|
||
|
repo Repository
|
||
|
}
|
||
|
|
||
|
func New(repo Repository) Validator {
|
||
|
return Validator{repo: repo}
|
||
|
}
|