inw
This commit is contained in:
1 parent
0669c6ec0a
commit
4e608d872a
8 files changed
+79
-26
No files matched your search
+8
-2
@@ -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,
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user