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.