Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewArticleModule = fx.Options( fx.Provide(repository.NewArticleRepository), fx.Provide(service.NewArticleService), fx.Provide(controller.NewController), fx.Provide(NewArticleRouter), )
Register bulkly
Functions ¶
This section is empty.
Types ¶
type ArticleRouter ¶
type ArticleRouter struct { App fiber.Router Controller *controller.Controller }
func NewArticleRouter ¶
func NewArticleRouter(fiber *fiber.App, controller *controller.Controller) *ArticleRouter
Router methods
func (*ArticleRouter) RegisterArticleRoutes ¶
func (r *ArticleRouter) RegisterArticleRoutes()
Directories ¶
Path | Synopsis |
---|---|
Package mock_controller is a generated GoMock package.
|
Package mock_controller is a generated GoMock package. |
Package mock_repository is a generated GoMock package.
|
Package mock_repository is a generated GoMock package. |
Package mock_service is a generated GoMock package.
|
Package mock_service is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.