model

package
v0.0.0-...-ccdb7b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutation

type Mutation struct {
}

type NewTodo

type NewTodo struct {
	Text     string `json:"text"`
	UserID   string `json:"userId"`
	IsGlobal bool   `json:"isGlobal"`
}

type Query

type Query struct {
}

type Todo

type Todo struct {
	ID       string `json:"id"`
	Text     string `json:"text"`
	Done     bool   `json:"done"`
	User     *User  `json:"user"`
	IsGlobal bool   `json:"isGlobal"`
}

type User

type User struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL