Implemented first repository using tiedot
This commit is contained in:
@@ -1 +1,15 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/deluan/gosonic/scanner"
|
||||
)
|
||||
|
||||
type SyncController struct{ beego.Controller }
|
||||
|
||||
func (c *SyncController) Get() {
|
||||
scanner.StartImport()
|
||||
c.Ctx.WriteString("Import started. Check logs")
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user