Created
May 12, 2022 23:33
-
-
Save manakuro/2940b90d96cf5e8f3a3004ccfc55ff00 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
// CreateUserInput represents a mutation input for creating users. | |
type CreateUserInput struct { | |
Name string | |
Age int | |
CreatedAt *time.Time | |
UpdatedAt *time.Time | |
} | |
// UpdateUserInput represents a mutation input for updating users. | |
type UpdateUserInput struct { | |
ID int | |
Name *string | |
Age *int | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment