Browse Source

refact: declare Authentication CLI params as string in the same line instead to break lines

Matheus Marques Polillo 1 year ago
parent
commit
55ba4328d7
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/presentation/cli/controller/authentication.go

+ 1 - 3
src/presentation/cli/controller/authentication.go

@@ -17,9 +17,7 @@ func NewAuthController() *AuthController {
 }
 
 func (controller *AuthController) Login() *cobra.Command {
-	var usernameStr string
-	var passwordStr string
-	var ipAddressStr string
+	var usernameStr, passwordStr, ipAddressStr string
 
 	cmd := &cobra.Command{
 		Use:   "login",