package
0.2.0
Repository: https://github.com/breeze0806/go-etl.git
Documentation: pkg.go.dev

# Functions

NewConfig creates a MySQL configuration and will report an error if the format does not meet the requirements.
NewField Generate a field based on basic column attributes.
NewFieldType Create a new field type.
NewReplaceParam creates replace parameters based on the table and transaction options (txOpts).
NewScanner Generate a scanner based on the column type.
NewSource generates a MySQL data source and will report an error if there's an issue with the configuration file.
NewTable creates a new MySQL table.
Quoted is the quoting function for MySQL.

# Constants

WriteModeReplace represents the replace into write mode.

# Structs

Config is the MySQL configuration, and the reading time needs to be parsed, i.e., parseTime=true.
Dialect represents the database dialect for MySQL.
Field Field.
FieldType Field type.
ReplaceParam represents the parameters for the replace into operation.
Scanner Scanner.
Source mysql represents the MySQL data source.
Table represents a MySQL table.