database

package
v0.0.0-...-edddd13 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateCreate

func MigrateCreate(name string)

func MigrateCurrent

func MigrateCurrent()

func MigrateDown

func MigrateDown()

func MigrateDrop

func MigrateDrop()

func MigrateUp

func MigrateUp()

func MigrateVersion

func MigrateVersion(version int)

Types

type Migration

type Migration struct {
	Version int
	Name    string
}

func ListMigrations

func ListMigrations() []Migration

Jump to

Keyboard shortcuts

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