Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Helper ¶
type Helper interface { Version() int GetRevision(ctx context.Context, tx *sql.Tx) (int, error) SetRevision(ctx context.Context, tx *sql.Tx, id int) error GetVersion(ctx context.Context, tx *sql.Tx) (int, error) SetVersion(ctx context.Context, tx *sql.Tx, version int) error TableExists(ctx context.Context, tx *sql.Tx) (bool, error) RenderSQL(sql string, locals ...map[string]interface{}) string }
Click to show internal directories.
Click to hide internal directories.