splitting out the eraser model from the locator model, adding library type logic.

This commit is contained in:
Matt Burchett
2018-11-20 12:20:20 -06:00
parent 3e5695a802
commit 81797f66ca
5 changed files with 207 additions and 138 deletions

View File

@ -2,6 +2,7 @@ package main
import (
"flag"
"fmt"
"log"
"git.linuxrocker.com/mattburchett/Housekeeper/pkg/communicator"
@ -37,6 +38,9 @@ func main() {
log.Fatal(err)
}
libraryType := locator.GetLibraryType(cfg, sectionID)
fmt.Println(libraryType)
ids, titles := locator.GetTitles(cfg, sectionID, days)
if check {