package
Version:
v0.0.0-...-0354e52
Opens a new window with list of versions in this module.
Published: Aug 10, 2021
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 Category struct {
ID string `json:"id"`
Name string `json:"name"`
Description *string `json:"description"`
}
type Chapter struct {
ID string `json:"id"`
Name string `json:"name"`
Course *Course `json:"course"`
Category *Category `json:"category"`
}
type Course struct {
ID string `json:"id"`
Name string `json:"name"`
Description *string `json:"description"`
Category *Category `json:"category"`
}
type NewCategory struct {
Name string `json:"name"`
Description string `json:"description"`
}
type NewChapter struct {
Name string `json:"name"`
CourseID string `json:"courseId"`
}
type NewCourse struct {
Name string `json:"name"`
Description string `json:"description"`
CategoryID string `json:"categoryID"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.