gowaymigrator

package module
v0.0.0-...-ae434bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package gowaymigrator provides a goway-backed sqlbus.Migrator. Importing this package is the single action that pulls github.com/cgardev/goway into a build; the sqlbus core itself depends only on database/sql.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() sqlbus.Migrator

New returns a sqlbus.Migrator backed by goway. It applies the sqlbus-owned embedded schema as a Flyway-style versioned migration, recording history in the sqlbus.SchemaHistoryTable table. Pass the result to sqlbus.WithMigrator:

store := sqlbus.NewPostgresStore(db, sqlbus.WithMigrator(gowaymigrator.New()))

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL