murphy/main.go
gari 3a82bf1776
All checks were successful
continuous-integration/drone/push Build is passing
#1 scan all projects for last modified
2021-11-30 23:09:34 +01:00

26 lines
423 B
Go

package main
import (
"git.entr0py.de/garionion/murphy/scanner"
"git.entr0py.de/garionion/murphy/store"
"github.com/mehdioa/nlog"
"sync"
)
var log *nlog.Logger
const source = "/mnt/clarkson"
func main() {
formatter := nlog.NewTextFormatter(true, true)
log = nlog.NewLogger(nlog.DebugLevel, formatter)
s := store.NewStore(log)
scanner.InitScanner(s, source)
wg := new(sync.WaitGroup)
wg.Add(2)
wg.Wait()
}