🚧 WalkFiles

This commit is contained in:
Dan Jones 2024-10-23 21:24:10 -05:00
commit 19206a9bf5
6 changed files with 157 additions and 16 deletions

View file

@ -1,23 +1,29 @@
package convids
import "regexp"
type Data struct {
Config Config
Shows ShowMap
Config *Config
Shows *ShowMap
}
type Config struct {
Source string
Extensions []string
Shows []string
extRe *regexp.Regexp
}
type ShowMap map[string]Shows
type ShowMap map[string]*Shows
type Shows []Show
type Shows []*Show
type Show struct {
Folder string
Pattern string
Name string
Anime bool
re *regexp.Regexp
}