Documentation
¶
Overview ¶
Package migrate provides the functionality to run goose migrations on a clickhouse database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunGoose ¶
RunGoose runs the goose command with the provided arguments. args should be the command and the arguments to pass to goose. eg RunGoose(ctx, []string{"up", "-v"}, db). registerFuncs should be a list of functions that register the migrations. This function is safe to run concurrently.
func RunGooseCmd ¶ added in v0.0.3
RunGooseCmd parses cmdline arguments and runs the goose command using the provided registerFuncs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.