rules

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package rules provides validator rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectoryIsCorrect

func DirectoryIsCorrect(fs afero.Fs, _, directory string) error

DirectoryIsCorrect checks if migrations directory is correct.

func InfoIsTrimmed

func InfoIsTrimmed(_ afero.Fs, info, _ string) error

InfoIsTrimmed checks if info doesn't have trailing spaces.

func InfoLength

func InfoLength(_ afero.Fs, info, _ string) error

InfoLength checks migration info length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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