validate

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Prefix string

Prefix is a string that would be placed at the beginning of the generated tags.

View Source
var PrintDefaultsOutput string

PrintDefaultsOutput changes the default output help string.

View Source
var Usage func()

Usage is the function that is called when an error occurs.

Functions

func Parse

func Parse(config interface{}) (err error)

Parse configuration.

func SetTag

func SetTag(tag string)

SetTag set a new tag.

func SetTagDefault

func SetTagDefault(tag string)

SetTagDefault set a new TagDefault to retorn default values.

func Setup

func Setup(tag string, tagDefault string)

Setup maps and variables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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