Documentation ¶
Index ¶
- Variables
- func Register()
- func WithInstance(instance *sql.DB, config *Config) (database.Driver, error)
- type Config
- type Postgres
- func (p *Postgres) Begin() error
- func (p *Postgres) Close() error
- func (p *Postgres) Commit() error
- func (p *Postgres) Exec(command io.Reader, params ...interface{}) error
- func (p *Postgres) ImportCSV(filePath, schemaName, tableName, delimiter string, header bool) error
- func (p *Postgres) Lock() error
- func (p *Postgres) Open(url string) (database.Driver, error)
- func (p *Postgres) Rollback() error
- func (p *Postgres) Unlock() error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.