type github.com/golang-migrate/migrate/v4.Migrate
29 uses
github.com/golang-migrate/migrate/v4 (current package)
migrate.go#L58: type Migrate struct {
migrate.go#L87: func New(sourceURL, databaseURL string) (*Migrate, error) {
migrate.go#L121: func NewWithDatabaseInstance(sourceURL string, databaseName string, databaseInstance database.Driver) (*Migrate, error) {
migrate.go#L147: func NewWithSourceInstance(sourceName string, sourceInstance source.Driver, databaseURL string) (*Migrate, error) {
migrate.go#L173: func NewWithInstance(sourceName string, sourceInstance source.Driver, databaseName string, databaseInstance database.Driver) (*Migrate, error) {
migrate.go#L185: func newCommon() *Migrate {
migrate.go#L186: return &Migrate{
migrate.go#L195: func (m *Migrate) Close() (source error, database error) {
migrate.go#L214: func (m *Migrate) Migrate(version uint) error {
migrate.go#L236: func (m *Migrate) Steps(n int) error {
migrate.go#L267: func (m *Migrate) Up() error {
migrate.go#L289: func (m *Migrate) Down() error {
migrate.go#L309: func (m *Migrate) Drop() error {
migrate.go#L323: func (m *Migrate) Run(migration ...*Migration) error {
migrate.go#L367: func (m *Migrate) Force(version int) error {
migrate.go#L385: func (m *Migrate) Version() (version uint, dirty bool, err error) {
migrate.go#L402: func (m *Migrate) read(from int, to int, ret chan<- interface{}) {
migrate.go#L534: func (m *Migrate) readUp(from int, limit int, ret chan<- interface{}) {
migrate.go#L634: func (m *Migrate) readDown(from int, limit int, ret chan<- interface{}) {
migrate.go#L725: func (m *Migrate) runMigrations(ret <-chan interface{}) error {
migrate.go#L778: func (m *Migrate) versionExists(version uint) (result error) {
migrate.go#L816: func (m *Migrate) stop() bool {
migrate.go#L833: func (m *Migrate) newMigration(version uint, targetVersion int) (*Migration, error) {
migrate.go#L888: func (m *Migrate) lock() error {
migrate.go#L939: func (m *Migrate) unlock() error {
migrate.go#L954: func (m *Migrate) unlockErr(prevErr error) error {
migrate.go#L962: func (m *Migrate) logPrintf(format string, v ...interface{}) {
migrate.go#L969: func (m *Migrate) logVerbosePrintf(format string, v ...interface{}) {
migrate.go#L976: func (m *Migrate) logErr(err error) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |