Versions in this module Expand all Collapse all v4 v4.16.3 Jun 28, 2023 Changes in this version + func WithInstance(instance interface{}, config *Config) (source.Driver, error) + type Config struct + type Stub struct + Config *Config + Instance interface{} + Migrations *source.Migrations + Url string + func (s *Stub) Close() error + func (s *Stub) First() (version uint, err error) + func (s *Stub) Next(version uint) (nextVersion uint, err error) + func (s *Stub) Open(url string) (source.Driver, error) + func (s *Stub) Prev(version uint) (prevVersion uint, err error) + func (s *Stub) ReadDown(version uint) (r io.ReadCloser, identifier string, err error) + func (s *Stub) ReadUp(version uint) (r io.ReadCloser, identifier string, err error)