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