Last active
October 14, 2021 01:57
-
-
Save axel-andrade/6a0159832e9613adf4865ffd4db628a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers | |
import ( | |
"go_clean_api/api/usecases/common" | |
interactor "go_clean_api/api/usecases/login" | |
) | |
type LoginController struct { | |
Interactor interactor.LoginInteractor | |
} | |
func (ctrl *LoginController) Run(input interactor.LoginInputDTO) common.OutputPort { | |
output := ctrl.Interactor.Execute(input) | |
return output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment