seperate routes, provide robust handler types, use mux

This commit is contained in:
sentriz
2019-07-14 19:32:36 +01:00
parent cbe709025e
commit 5444b328fd
77 changed files with 11880 additions and 1011 deletions

View File

@@ -172,6 +172,8 @@ var coverFilenames = map[string]struct{}{
"front.jpeg": {},
}
// ## begin callbacks
// ## begin callbacks
// ## begin callbacks
func (s *Scanner) callbackItem(fullPath string, info *godirwalk.Dirent) error {
@@ -237,6 +239,8 @@ func decoded(in string) string {
return result
}
// ## begin handlers
// ## begin handlers
// ## begin handlers
func (s *Scanner) handleFolder(it *item) error {