rules

package
v0.0.0-...-6cdc21d Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package rules provides validation rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectoryExists

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

DirectoryExists checks if directory exists.

func TableDoesNotExist

func TableDoesNotExist(fs afero.Fs, tableName, directory string) error

TableDoesNotExist checks if table already exists.

func TableNameIsCorrect

func TableNameIsCorrect(fs afero.Fs, tableName, _ string) error

TableNameIsCorrect checks table name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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