Documentation ¶ Index ¶ type Driver func New(dsn string, iamAuth bool) (Driver, error) type MySQL func (dri *MySQL) Open() (*sql.DB, error) type PostgreSQL func (dri *PostgreSQL) Open() (*sql.DB, error) type SQLite func (dri *SQLite) Open() (*sql.DB, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Driver ¶ type Driver interface { Open() (*sql.DB, error) } func New ¶ func New(dsn string, iamAuth bool) (Driver, error) type MySQL ¶ type MySQL struct { DSN string IAMAuth bool } func (*MySQL) Open ¶ func (dri *MySQL) Open() (*sql.DB, error) type PostgreSQL ¶ type PostgreSQL struct { DSN string IAMAuth bool } func (*PostgreSQL) Open ¶ func (dri *PostgreSQL) Open() (*sql.DB, error) type SQLite ¶ type SQLite struct { DSN string } func (*SQLite) Open ¶ func (dri *SQLite) Open() (*sql.DB, error) Source Files ¶ View all Source files driver.gomysql.gopostgresql.gosqlite.go Click to show internal directories. Click to hide internal directories.