package
Version:
v0.0.0-...-358476e
Opens a new window with list of versions in this module.
Published: Jul 16, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type NewTodo struct {
Text string `json:"text"`
Done *bool `json:"done"`
}
const (
RoleAdmin Role = "ADMIN"
RoleUser Role = "USER"
)
func (e *Role) UnmarshalGQL(v interface{}) error
type Todo struct {
ID string `json:"id"`
Text string `json:"text"`
Done bool `json:"done"`
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.