18 lines
258 B
Go
18 lines
258 B
Go
package helper
|
|
|
|
import (
|
|
"admin-service/structure"
|
|
"admin-service/controller"
|
|
)
|
|
|
|
type Handlers struct {
|
|
// ===== AUTH =====
|
|
Auth func() (*structure.Auth, error) `method:"auth"`
|
|
}
|
|
|
|
func GetHandlers() *Handlers {
|
|
return &Handlers{
|
|
controller.Auth,
|
|
}
|
|
}
|