Versions in this module Expand all Collapse all v0 v0.2.4 Aug 22, 2022 Changes in this version + type Collection struct + Bar *mpb.Bar + Config cfg.Config + Delete bool + OutDir *string + Overwrite bool + Sections []Section + Title string + Year int + func (t *Collection) Collect(filemap map[int][]string) error + func (t *Collection) ReadConfigBytes(config []byte) error + func (t *Collection) ReadConfigFile(file *os.File) error + type Section struct + Bar *mpb.Bar + Comic string + End int + Files []string + ID int + OutFile string + Start *int + Title string + Year int + func (s *Section) FmtID(format string) string v0.2.3 Aug 22, 2022 v0.2.2 Aug 22, 2022 v0.2.1 Aug 22, 2022 v0.2.0 Aug 22, 2022 Changes in this version + var OutputTemplate = `{{- .Comic }} {{ .FmtID "%03d" -}}{{ with .Year }} ({{ . }}){{ end -}}{{ with .Title }} - {{ . }}){{ end -}}.cbz` + func MapFiles(files *[]string) map[int][]string + func ZipFiles(files *[]string, filename string, delete bool, bar *mpb.Bar) + type Config struct + Comic struct{ ... } + Format *string + func (c *Config) Parse(data []byte) error + type SecData struct + Comic string + ID int + Title string + Year int + func (s SecData) FmtID(format string) string + type TPB struct + Config Config + Delete bool + OutDir *string + Overwrite bool + func (t *TPB) Collect(fs []string) + func (t *TPB) ReadConfigBytes(config []byte) + func (t *TPB) ReadConfigFile(file *os.File) v0.1.0 Aug 22, 2022