package initialize import ( "go.uber.org/zap" "penahub.gitlab.yandexcloud.net/pena-services/customer/internal/client" "penahub.gitlab.yandexcloud.net/pena-services/customer/internal/models" ) type ClientsDeps struct { Logger *zap.Logger AuthURL *models.AuthMicroServiceURL } type Clients struct { AuthClient *client.AuthClient } func NewClients(deps *ClientsDeps) *Clients { return &Clients{ AuthClient: client.NewAuthClient(&client.AuthClientDeps{ Logger: deps.Logger, URLs: deps.AuthURL, }), } }