package
Version:
v0.0.0-...-0ce59ea
Opens a new window with list of versions in this module.
Published: Jun 6, 2021
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"`
UserID string `json:"userId"`
}
const (
RoleAdmin Role = "ADMIN"
RoleOwner Role = "OWNER"
)
func (e *Role) UnmarshalGQL(v interface{}) error
type Todo struct {
ID string `json:"id"`
Text string `json:"text"`
Done bool `json:"done"`
UserID string `json:"user"`
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.