Implemented first repository using tiedot

This commit is contained in:
Deluan
2016-02-26 01:32:31 -05:00
parent e760952263
commit 85ddd19c3d
18 changed files with 279 additions and 53 deletions
+14
View File
@@ -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")
}