Versions in this module Expand all Collapse all v4 v4.18.4 Sep 26, 2024 v4.18.3 Sep 26, 2024 Changes in this version + const DROP + func WithInstance(instance interface{}, config *Config) (database.Driver, error) + type Config struct + type Stub struct + Config *Config + CurrentVersion int + Instance interface{} + IsDirty bool + LastRunMigration []byte + MigrationSequence []string + Url string + 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(migration io.Reader) error + func (s *Stub) SetVersion(version int, state bool) error + func (s *Stub) Unlock() error + func (s *Stub) Version() (version int, dirty bool, err error)