fix: update user plan and rearrange structur project
This commit is contained in:
@@ -6,14 +6,14 @@ import (
|
||||
)
|
||||
|
||||
type impl struct {
|
||||
subsRepo subscriberepository.SubsIntf
|
||||
subsRepo subscriberepository.Subscribe
|
||||
}
|
||||
|
||||
type Subscribe interface {
|
||||
Create(string) (string, error)
|
||||
Update(string, userdomain.UserSubsUpdate) error
|
||||
Update(userdomain.UserSubsUpdate) error
|
||||
}
|
||||
|
||||
func New(subsRepo subscriberepository.SubsIntf) Subscribe {
|
||||
func New(subsRepo subscriberepository.Subscribe) Subscribe {
|
||||
return &impl{subsRepo}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user