BlackForest/Config.go

26 lines
451 B
Go
Raw Normal View History

package main
type Config struct{}
type ConfigJ struct {
Album ConfigAlbum `json:"album,omitempty"`
}
type ConfigAlbum struct {
Folder []AlbumFolder `json:"folder,omitempty"`
Virtual map[string]interface{} `json:"virtual,omitempty"`
}
type AlbumFolder struct {
Name string `json:"name,omitempty"`
Path string `json:"path"`
}
func (my *Config) Init() *Config {
return my
}
func (my *Config) Read() {}
func (my *Config) Write() {}