helper

package
v0.0.0-...-0829b1e Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEmptyFile

func CreateEmptyFile(outputPath string) error

func CreateInitialization

func CreateInitialization(outputPath string, data InitializeRequestDTO) error

func CreateMigrations

func CreateMigrations(outputPath string, data MigrationRequestDTO) error

Types

type InitializeRequestDTO

type InitializeRequestDTO struct {
	IsMongo       bool
	MigrationType string
	Versions      []string
}

type MigrationRequestDTO

type MigrationRequestDTO struct {
	Version       uint64
	MigrationType string
	MigrationName string
	IsMongo       bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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