Documentation ¶
Overview ¶
Package ydbm provides migrations executor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { CurrentVersion(string, string) (string, *table.QueryParameters) Insert(string, string, builder.Migration, time.Time) (string, *table.QueryParameters) Delete(string, string, builder.Migration) (string, *table.QueryParameters) }
Builder describes query builder interface.
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor describes migrations executor.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
ydbm
Package main describes a ydbm entry-point.
|
Package main describes a ydbm entry-point. |
ydbm/cmd
Package cmd provides cli commands.
|
Package cmd provides cli commands. |
internal
|
|
builder
Package builder provides query builder.
|
Package builder provides query builder. |
columns
Package columns provides column name constants.
|
Package columns provides column name constants. |
generator
Package generator provides migration generator.
|
Package generator provides migration generator. |
generator/actions/executor
Package executor provides action to generate executor constructor.
|
Package executor provides action to generate executor constructor. |
generator/actions/migration
Package migration provides action to generate migration.
|
Package migration provides action to generate migration. |
generator/context
Package context provides generator context.
|
Package context provides generator context. |
generator/validator
Package validator provides generator validator.
|
Package validator provides generator validator. |
generator/validator/errors
Package errors provides validation errors.
|
Package errors provides validation errors. |
generator/validator/rules
Package rules provides validator rules.
|
Package rules provides validator rules. |
logx
Package logx provides logger.
|
Package logx provides logger. |
templatex
Package templatex provides useful helper to compile and write template to file.
|
Package templatex provides useful helper to compile and write template to file. |
timex
Package timex provides mockable time struct.
|
Package timex provides mockable time struct. |
Package migration provides migration interface.
|
Package migration provides migration interface. |
Click to show internal directories.
Click to hide internal directories.