Documentation ¶
Index ¶
- Constants
- func WithInstance(instance interface{}, config *Config) (database.Driver, error)
- type Config
- type Stub
- func (s *Stub) Close() error
- func (s *Stub) Drop() error
- func (s *Stub) EqualSequence(seq []string) bool
- func (s *Stub) Lock() error
- func (s *Stub) Open(url string) (database.Driver, error)
- func (s *Stub) Run(version int, migration io.Reader) error
- func (s *Stub) Unlock() error
- func (s *Stub) Version() (int, error)
Constants ¶
View Source
const DROP = "DROP"
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.