Documentation ¶ Index ¶ type Client func New() *Client func (c *Client) Down() error func (c *Client) Setup(ctx context.Context, db *sql.DB, path, migrTable string) error func (c *Client) SetupFS(ctx context.Context, db *sql.DB, fs fs.FS, migrTable string) error func (c *Client) Up() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func New ¶ func New() *Client func (*Client) Down ¶ func (c *Client) Down() error func (*Client) Setup ¶ func (c *Client) Setup(ctx context.Context, db *sql.DB, path, migrTable string) error func (*Client) SetupFS ¶ added in v0.2.1 func (c *Client) SetupFS(ctx context.Context, db *sql.DB, fs fs.FS, migrTable string) error func (*Client) Up ¶ func (c *Client) Up() error Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.