package
1.0.0
Repository: https://github.com/cloudwan/gohan.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package mock_db is a generated GoMock package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ConnectDB is builder function of DB.
CopyDBResources copies resources from input database to output database.
CreateFromConfig creates db connection from config.
No description provided by the author
No description provided by the author
InitDBConnWithSchemas initializes database connection using schemas stored in Manager.
InitDBWithSchemas initializes database using schemas stored in Manager.
IsDeadlock checks if error is deadlock.
Within executes a scoped transaction on a database.
No description provided by the author
WithinTx executes a scoped transaction with options on a database.

# Constants

DefaultMaxOpenConn will applied for db object.

# Structs

No description provided by the author

# Interfaces

DB is a common interface for handing db.
ITransaction is a common interface for transaction.