mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 20:22:46 +00:00
20 lines
250 B
Go
20 lines
250 B
Go
// +build ignore
|
|
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/tuna/tunasync/worker"
|
|
)
|
|
|
|
func main() {
|
|
cfg, err := worker.LoadConfig("worker.conf")
|
|
if err != nil {
|
|
fmt.Println(err.Error())
|
|
return
|
|
}
|
|
m := worker.GetTUNASyncWorker(cfg)
|
|
m.Run()
|
|
}
|