Documentation ¶
Index ¶
- func DrawStudyDashboard(data *api.SubjectData)
- func Level() *widgets.BarChart
- func LevelProgress(radicalPct, kanjiPct int) (*widgets.Gauge, *widgets.Gauge)
- func Progress() (*widgets.Gauge, *widgets.Gauge)
- func Summary() *widgets.BarChart
- func UpdateLevelData() (LevelLabels, LevelInfo)
- func UpdateLevelProgress() (int, int)
- func UpdateSummaryData() (BarLabels, BarData)
- func UpdateUserData() (string, string)
- func User() *widgets.Paragraph
- type BarData
- type BarLabels
- type LevelData
- type LevelInfo
- type LevelLabels
- type LevelObj
- type Review
- type Subject
- type SubjectTypes
- type SummaryData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawStudyDashboard ¶
func DrawStudyDashboard(data *api.SubjectData)
func UpdateLevelData ¶
func UpdateLevelData() (LevelLabels, LevelInfo)
func UpdateLevelProgress ¶
func UpdateSummaryData ¶
func UpdateUserData ¶
Types ¶
type LevelLabels ¶
type LevelLabels []string
type SubjectTypes ¶
type SubjectTypes struct {
// contains filtered or unexported fields
}
type SummaryData ¶
type SummaryData struct { Data struct { Reviews []Review `json:"reviews"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.