Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Component = &component.Component{ Dependencies: component.Components{ migrator.Component, mysql.Component, }, }
Component registers MySQL migration driver with the migrator. It depends on both migrator.Component and mysql.Component to ensure they are initialized before registration.
Usage:
compogo.WithComponents(
db_client.Component,
db_migrator.Component,
mysql.Component,
migrator.Component, // registers MySQL migration driver
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.