Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2026 Changes in this version + var ErrInvalidName = errors.New("invalid migration name") + func Create(ctx context.Context, opts CreateOptions) error + func Down(ctx context.Context, opts Options) error + func Status(ctx context.Context, opts Options) error + func Up(ctx context.Context, opts Options) error + type CreateOptions struct + Name string + Now func() time.Time + RootDir string + type Options struct + DatabaseURL string + Output io.Writer + RootDir string