echo

package
v0.0.0-...-0c811c1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Example
var c echo.Context
if e := check.
	Build(c).
	Rules(check.M("a", "b").
		Or(check.M("c")),
		check.Rename("c", "C"),
		check.DefaultValue("d", "666"),
		check.Atoi("d"),
	).Load(nil); e != nil {
	log.Fatal(e)
}
Output:

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParamCheckBuilder

func ParamCheckBuilder(i interface{}) check.RuleBuilder

ParamCheckBuilder Export

func PathParamCheckBuilder

func PathParamCheckBuilder(i interface{}) check.RuleBuilder

PathParamCheckBuilder Export

Types

This section is empty.

Jump to

Keyboard shortcuts

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