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 bulky of article module
Functions ¶
This section is empty.
Types ¶
type ArticleRouter ¶
type ArticleRouter struct { App fiber.Router Controller *controller.Controller }
struct of ArticleRouter
func NewArticleRouter ¶
func NewArticleRouter(fiber *fiber.App, controller *controller.Controller) *ArticleRouter
init ArticleRouter
func (*ArticleRouter) RegisterArticleRoutes ¶
func (_i *ArticleRouter) RegisterArticleRoutes()
register routes of article module
Directories ¶
Path | Synopsis |
---|---|
Package controller is a generated GoMock package.
|
Package controller is a generated GoMock package. |
Package repository is a generated GoMock package.
|
Package repository is a generated GoMock package. |
Package service is a generated GoMock package.
|
Package service is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.