db

package
v0.0.0-...-34dbe8a Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyVersion

func ApplyVersion(db *sql.DB, version Version, fs afero.Fs, files []string) error

func PrepareVersionTable

func PrepareVersionTable(db *sql.DB) error

Types

type Version

type Version struct {
	// contains filtered or unexported fields
}

func GetVersion

func GetVersion(db *sql.DB) (Version, error)

func ParseVersion

func ParseVersion(version string) (Version, error)

func (Version) Equal

func (v Version) Equal(a Version) bool

func (Version) IsZero

func (v Version) IsZero() bool

func (Version) Less

func (v Version) Less(a Version) bool

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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