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(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)
Constants ¶
View Source
const DROP = "DROP"
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.