validation

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	High level = iota + 1
	Low
)

Variables

This section is empty.

Functions

func New

func New(opts ...Option) *validation

Types

type Option

type Option func(o *Options)

func WithLevel

func WithLevel(l level) Option

type Options

type Options struct {
	Level level
}

type Validation

type Validation interface {
	SecureString(s string) string
}

Jump to

Keyboard shortcuts

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