Browse Source

Rename api package

Andrea Fazzi 6 years ago
parent
commit
52122ea13b

+ 0 - 0
api/activities.go → handlers/activities.go


+ 0 - 0
api/api.go → handlers/api.go


+ 0 - 0
api/api_test.go → handlers/api_test.go


+ 0 - 0
api/classes.go → handlers/classes.go


+ 0 - 0
api/dashboard.go → handlers/dashboard.go


+ 0 - 0
api/login.go → handlers/login.go


+ 0 - 0
api/school.go → handlers/school.go


+ 0 - 0
api/subjects.go → handlers/subjects.go


+ 0 - 0
api/teachers.go → handlers/teachers.go


+ 0 - 0
api/teachers_classes.go → handlers/teachers_classes.go


+ 0 - 0
api/teachers_subjects.go → handlers/teachers_subjects.go


+ 0 - 0
api/testdata/config.yaml → handlers/testdata/config.yaml


+ 0 - 0
api/testdata/documents/document_1/config.yaml → handlers/testdata/documents/document_1/config.yaml


+ 0 - 0
api/testdata/documents/document_1/template.tpl → handlers/testdata/documents/document_1/template.tpl


+ 0 - 0
api/testdata/documents/document_2/config.yaml → handlers/testdata/documents/document_2/config.yaml


+ 1 - 1
main.go

@@ -11,7 +11,7 @@ import (
 	"github.com/jinzhu/gorm"
 	"github.com/jinzhu/gorm"
 
 
 	"gogs.carducci-dante.gov.it/karmen/config"
 	"gogs.carducci-dante.gov.it/karmen/config"
-	"gogs.carducci-dante.gov.it/karmen/core/api"
+	"gogs.carducci-dante.gov.it/karmen/core/handlers"
 	"gogs.carducci-dante.gov.it/karmen/core/orm"
 	"gogs.carducci-dante.gov.it/karmen/core/orm"
 	"gogs.carducci-dante.gov.it/karmen/core/renderer"
 	"gogs.carducci-dante.gov.it/karmen/core/renderer"
 )
 )