Created
November 1, 2017 21:14
-
-
Save jkinkead/4d34cbb334d1619b2533484fa84cb168 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
data class UserLogin(val password: String, val username: String) | |
val loginInfo: UserLogin = getLoginFromEnvironment() | |
val (username, password) = loginInfo | |
System.out.println("Trying to log in with username $username.") | |
performLogin(username, password) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment