Documentation ¶
Overview ¶
Package postgres implements the Driver interface.
Index ¶
- type Driver
- func (p *Driver) Close() error
- func (driver *Driver) FilenameExtension() string
- func (driver *Driver) Initialize(url string, initOptions ...func(driver.Driver)) error
- func (p *Driver) Lock() error
- func (driver *Driver) Migrate(f file.File, pipe chan interface{})
- func (p *Driver) Unlock() error
- func (driver *Driver) Version() (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) FilenameExtension ¶
func (*Driver) Initialize ¶
func (*Driver) Lock ¶ added in v1.6.0
https://www.postgresql.org/docs/9.6/static/explicit-locking.html#ADVISORY-LOCKS
Click to show internal directories.
Click to hide internal directories.