Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartInfoVo ¶
type ImportCourseVo ¶
type ImportHeaderVo ¶
type ImportHeaderVo struct {
DataURL string `json:"data_url"`
Name string `json:"name"`
OriginalURL string `json:"original_url"`
Symbol string `json:"symbol"`
HeaderURL string
LevelOrders []any `json:"level_order"`
RawCourses []any `json:"course"`
Courses []ImportCourseVo
}
func (*ImportHeaderVo) ParseRawCourses ¶
func (header *ImportHeaderVo) ParseRawCourses() error
Parse field 'RawCourses' into 'Courses'
Possible layouts:
- courses is an array of valid courses
- courses is a two-dimensional array, every element might be an array of valid courses
- courses is an array of a wrapped struct, the real courses are laid inside 'charts' field
For Item3, see pushupChartsHashField for details
Click to show internal directories.
Click to hide internal directories.