check

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTag

func CheckTag(valtype string, key string, val interface{}, tag reflect.StructTag, option int) (map[string]string, error)

eq/Equal/equal val \n ne/neq/notequal val \n leq/lengthEqual/len_equal val \n lneq/lengthnotEqual/len_notequal val \n gt/greatthan/> val \n egt/gte/ge/greatthanequal/>= val \n lt/lessthan/< val \n elt/lte/lessThanEqual/<= val \n between/bt val,val wi/within val,val... \n wo/without val,val... \n contain/have/contains/has val,val... \n nc/nh/notcontain/notcontains/nothas/nothave/notcontains val,val... \n bc/cb/becontain/containby/containsby val,val... \n nbc/ncb/notbecontain/notcontainby/notcontainsby val,val... \n sw/startswtih/startwith val \n nsw/notstartswtih/notstartwith val \n ed/endwith/endswith val \n ned/notendwith/notendswith val \n save val saveg val

Types

This section is empty.

Jump to

Keyboard shortcuts

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