restructure scanner
This commit is contained in:
@@ -2,12 +2,10 @@ package scanner
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/dhowden/tag"
|
||||
)
|
||||
@@ -62,8 +60,3 @@ func readTags(path string) (tag.Metadata, error) {
|
||||
}
|
||||
return tags, nil
|
||||
}
|
||||
|
||||
func logElapsed(start time.Time, name string) {
|
||||
elapsed := time.Since(start)
|
||||
log.Printf("finished %s in %s\n", name, elapsed)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user