package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev

# Functions

Exec executes a query.
NewBuffer returns a new Buffer.
NewFileHelper creates and returns a new File Helper.
NewStack creates a new Stack with an empty slice of strings for queries.
ReadInSQLLine reads the SQL line from a string and returns the line as modified by the configuration If dropComments is true, then drops all line comments.
SplitStatements splits a string of SQL statements into a slice with each element being a statement.

# Variables

ErrClosed is an error when buffer is closed for writing.
ErrWait is an error when waiting for input.

# Structs

Buffer is a wrapper around strings.Builder for concurrent loading and reading.
Builder is a builder for pop migrations.
ErrInvalidDirection is an error for an invalid direction.
ErrInvalidFormat is an error for an invalid migration format.
ErrInvalidPath is an error for an invalid path.
FileHelper is an afero filesystem struct.
Stack represents a collection of SQL queries.

# Interfaces

No description provided by the author
No description provided by the author