This commit is contained in:
andrey.savchuk committed 2018-04-27 02:32:52 +03:00
1 parent 0669c6ec0a
commit 4e608d872a
8 files changed
+79 -26

No files matched your search

+8 -2
View File
@@ -1,11 +1,17 @@
package helper
import (
"admin-service/structure"
"admin-service/controller"
)
type Handlers struct {
// ===== INSTANCE =====
// ===== AUTH =====
Auth func() (*structure.Auth, error) `method:"auth"`
}
func GetHandlers() *Handlers {
return &Handlers{
// ===== INSTANCE =====
controller.Auth,
}
}