Created
December 10, 2021 04:39
-
-
Save manakuro/9d46fad9107cdf7944f2ac01a1df17aa 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
| // CreateTodoInput represents a mutation input for creating todos. | |
| type CreateTodoInput struct { | |
| Name *string | |
| Status *todo.Status | |
| Priority *int | |
| CreatedAt *time.Time | |
| UpdatedAt *time.Time | |
| UserID *int | |
| } | |
| ... | |
| // UpdateTodoInput represents a mutation input for updating todos. | |
| type UpdateTodoInput struct { | |
| ID int | |
| Name *string | |
| Status *todo.Status | |
| Priority *int | |
| UserID *int | |
| ClearUser bool | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment