Discover Packages
github.com/yaroslav-koval/graphql-psychologists-courses
graph
model
package
Version:
v0.0.0-...-f7dd486
Opens a new window with list of versions in this module.
Published: Jul 23, 2024
License: Apache-2.0
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
Documentation
¶
type NewCourse struct {
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Price int `json:"price"`
Psychologists []string `json:"psychologists"`
}
type NewLesson struct {
Name string `json:"name"`
Number int `json:"number"`
Course string `json:"course"`
}
type NewPsychologist struct {
Name string `json:"name"`
Description *string `json:"description,omitempty"`
}
type UpdateCourse struct {
ID string `json:"id"`
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Price int `json:"price"`
}
type UpdateLesson struct {
ID string `json:"id"`
Name string `json:"name"`
Number int `json:"number"`
}
type UpdatePsychologist struct {
ID string `json:"id"`
Name string `json:"name"`
Description *string `json:"description,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.