parser

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Overview

Package parser provides utilities for parsing migration files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedMigration

type ParsedMigration struct {
	UseTransaction bool
	Statements     []string
}

ParsedMigration is a parsed migration

func Parse

func Parse(r io.Reader) (*ParsedMigration, error)

Parse reads a migration and returns a parsed migrations

Jump to

Keyboard shortcuts

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