package
Version:
v0.0.0-...-bc3e28f
Opens a new window with list of versions in this module.
Published: Nov 29, 2024
License: MIT
Opens a new window with license information.
Imports: 0
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"`
}
type NewUser struct {
Name string `json:"name"`
Email *string `json:"email"`
}
type Todo struct {
ID string `json:"id"`
Text string `json:"text"`
Done bool `json:"done"`
UserID string `json:"userId"`
User *User `json:"user"`
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
Email *string `json:"email"`
}
type UsersQuery struct {
All []*User `json:"all"`
User *User `json:"user"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.