Discover Packages
github.com/Sfinks80/golang-migrate/v4
database
multistmt
package
Version:
v4.15.3
Opens a new window with list of versions in this module.
Published: Apr 14, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package multistmt provides methods for parsing multi-statement database migrations
StartBufSize is the default starting size of the buffer used to scan and parse multi-statement migrations
Parse parses the given multi-statement migration
type Handler func(migration []byte ) bool
Handler handles a single migration parsed from a multi-statement migration.
It's given the single migration to handle and returns whether or not further statements
from the multi-statement migration should be parsed and handled.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.