Handlers, DB, Cache
This commit is contained in:
13
internal/service/yookassa/yookassa_service.go
Normal file
13
internal/service/yookassa/yookassa_service.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package yookassa
|
||||
|
||||
import "payouts/internal/service/yookassa/config"
|
||||
|
||||
type yookassaService struct {
|
||||
conf config.YooKassa
|
||||
}
|
||||
|
||||
func NewYookassaService(conf config.YooKassa) (Service, error) {
|
||||
return &yookassaService{
|
||||
conf: conf,
|
||||
}, nil
|
||||
}
|
||||
Reference in New Issue
Block a user