Skip to content

Instantly share code, notes, and snippets.


le0nidas/task_usage.kt Secret

Created Oct 28, 2018
What would you like to do?
val le0nidas = User("le0nidas")
val kotlinEnthusiasts = Group("kotlin enthusiasts")
Task("buy milk", AssignedToNoOne).printAssignment()
Task("write post", AssignedToUser(le0nidas)).printAssignment()
Task("write kotlin", AssignedToGroup(kotlinEnthusiasts)).printAssignment()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment