Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connect ¶
type Connect struct {
// contains filtered or unexported fields
}
Connect a database connection
func NewConnection ¶
func NewConnection(dsn *DataSourceName) (conn *Connect, err error)
NewConnection connect to a exist database
type DataSourceName ¶
DataSourceName database source name
func (*DataSourceName) String ¶
func (dsn *DataSourceName) String() string
Click to show internal directories.
Click to hide internal directories.