block-accounting/backend/internal/interface/rest/controllers/root.go
2024-05-29 01:57:31 +03:00

26 lines
602 B
Go

package controllers
type RootController struct {
Ping PingController
Auth AuthController
Organizations OrganizationsController
Transactions TransactionsController
Participants ParticipantsController
}
func NewRootController(
ping PingController,
auth AuthController,
organizations OrganizationsController,
transactions TransactionsController,
participants ParticipantsController,
) *RootController {
return &RootController{
Ping: ping,
Auth: auth,
Organizations: organizations,
Transactions: transactions,
Participants: participants,
}
}