Refactoring to a cleaner architecture

This commit is contained in:
Deluan
2016-03-02 09:07:24 -05:00
parent 74478ce6f9
commit 272a499c7e
27 changed files with 120 additions and 120 deletions
+3 -3
View File
@@ -2,18 +2,18 @@ package api
import (
"github.com/astaxie/beego"
"github.com/deluan/gosonic/repositories"
"github.com/deluan/gosonic/utils"
"github.com/karlkfi/inject"
"github.com/deluan/gosonic/api/responses"
"github.com/deluan/gosonic/consts"
"strconv"
"github.com/deluan/gosonic/domain"
)
type GetIndexesController struct {
beego.Controller
repo repositories.ArtistIndex
properties repositories.Property
repo domain.ArtistIndexRepository
properties domain.PropertyRepository
}
func (c *GetIndexesController) Prepare() {