Skip to content

Instantly share code, notes, and snippets.

@manakuro
Created December 10, 2021 04:40
Show Gist options
  • Select an option

  • Save manakuro/f73029384cfdac81bedfedd24072a1ca to your computer and use it in GitHub Desktop.

Select an option

Save manakuro/f73029384cfdac81bedfedd24072a1ca to your computer and use it in GitHub Desktop.
package model
import "golang-clean-architecture-ent-gqlgen/ent"
// Todo is the model entity for the Todo schema.
type Todo = ent.Todo
// CreateTodoInput represents a mutation input for creating todos.
type CreateTodoInput = ent.CreateTodoInput
// UpdateTodoInput represents a mutation input for updating todos.
type UpdateTodoInput = ent.UpdateTodoInput
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment