Documentation ¶ Index ¶ Constants type Client func New() *Client func (c *Client) Down() error func (c *Client) Setup(ctx context.Context, db *sql.DB, path string, migrTable ...string) error func (c *Client) SetupFS(ctx context.Context, db *sql.DB, filesystem fs.FS, migrTable ...string) error func (c *Client) Up() error Constants ¶ View Source const DefaultMigrationTable = "schema_migrations" 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 string, migrTable ...string) error func (*Client) SetupFS ¶ func (c *Client) SetupFS(ctx context.Context, db *sql.DB, filesystem 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.