package
0.0.0-20190118033331-2a53b66835d6
Repository: https://github.com/arcplus/go-lib.git
Documentation: pkg.go.dev

# Functions

Client returns mysql client, mostly, we use DB() func.
Close closes all mysql conn.
DB is helper func to get *sqlx.DB.
HealthCheck ping db.
No description provided by the author
IsChanged checks if result.RowsAffected is 0.
IsDupErr check if mysql error is ER_DUP_ENTRY https://github.com/VividCortex/mysqlerr.
IsNoRowsErr.
MySQLErr try conver mysql err to *mysql.MySQLError.
Register dsn format -> [username[:password]@][protocol[(address)]]/dbname[?param1=value1&...&paramN=valueN] each db should only register once.
No description provided by the author

# Constants

ER_DUP_ENTRY
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Hooks satisfies the sqlhook.Hooks interface.

# Type aliases

alias.
alias.
alias.
alias.
alias.