Documentation
¶
Overview ¶
Package bmstable implmenets bms difficult table parsing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CourseInfo ¶
type CourseInfo struct {
Name string `json:"name"`
Md5 []string `json:"md5"`
Sha256 []string `json:"sha256"`
Constraint []string `json:"constraint"`
}
Stores the meta data of a course
type DifficultTable ¶
type DifficultTable struct {
HeaderURL string `json:"header_url"`
DataURL string `json:"data_url"`
Name string `json:"name"`
OriginalURL string `json:"original_url"`
Symbol string `json:"symbol"`
LevelOrder []string
Contents []DifficultTableData
Courses []CourseInfo
}
Stores the meta data of a difficult table
func ParseFromURL ¶
func ParseFromURL(url string) (DifficultTable, error)
type DifficultTableData ¶
type DifficultTableData struct {
Artist string `json:"artist"`
Comment string `json:"comment"`
Level string `json:"level"`
Lr2BmsID string `json:"lr2_bmdid"`
Md5 string `json:"md5"`
NameDiff string `json:"name_diff"`
Title string `json:"title"`
URL string `json:"url"`
URLDiff string `json:"url_diff"`
Sha256 string `json:"sha256"`
}
Reprents one song arranged in a difficult table
Click to show internal directories.
Click to hide internal directories.