mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
new: Added music collection page
This commit is contained in:
14
config/mMusic.go
Normal file
14
config/mMusic.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
type mMusic struct {
|
||||
Title string `yaml:"title"`
|
||||
List []mMusicItem `yaml:"list"`
|
||||
}
|
||||
|
||||
type mMusicItem struct {
|
||||
Name string `yaml:"name"`
|
||||
Singer string `yaml:"singer"`
|
||||
Cover string `yaml:"cover"`
|
||||
MusicUrl string `yaml:"music_url"`
|
||||
LyricUrl string `yaml:"lyric_url"`
|
||||
}
|
||||
Reference in New Issue
Block a user