use interfaces for handlers

This commit is contained in:
Carlosokumu 2024-08-29 20:08:36 +03:00
parent 22d076ea50
commit 64e182fd44
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -42,7 +42,6 @@ func (s *ServerAccountCreator) CreateAccount() (*models.AccountResponse, error)
type Handlers struct { type Handlers struct {
fs *FSData fs *FSData
//accountFileHandler *utils.AccountFileHandler
accountCreator AccountCreator accountCreator AccountCreator
accountFileHandler utils.AccountFileHandlerInterface accountFileHandler utils.AccountFileHandlerInterface
accountService server.AccountServiceInterface accountService server.AccountServiceInterface