11 lines
232 B
Go
11 lines
232 B
Go
package authmodule
|
|
|
|
import "github.com/gofiber/fiber/v2"
|
|
|
|
// apply routes in app fiber, with controllers and services defined
|
|
func AuthModuleDecorator(app *fiber.App) {
|
|
s := newService()
|
|
c := newController(s)
|
|
newRoutes(c, app)
|
|
}
|