Versions in this module Expand all Collapse all v0 v0.5.5 Oct 10, 2014 GO-2020-0021 GO-2020-0021: SQL Injection in github.com/gogits/gogs v0.5.2 Sep 18, 2014 GO-2020-0021 GO-2020-0021: SQL Injection in github.com/gogits/gogs v0.5.0 Sep 14, 2014 GO-2020-0021 GO-2020-0021: SQL Injection in github.com/gogits/gogs v0.4.2 Jun 6, 2014 GO-2020-0021 GO-2020-0021: SQL Injection in github.com/gogits/gogs v0.4.1 Jun 1, 2014 GO-2020-0021 GO-2020-0021: SQL Injection in github.com/gogits/gogs v0.4.0 May 31, 2014 GO-2020-0021 GO-2020-0021: SQL Injection in github.com/gogits/gogs Changes in this version + const BindingAlphaDashDotError + const BindingAlphaDashError + const BindingBooleanTypeError + const BindingDeserializationError + const BindingEmailError + const BindingFloatTypeError + const BindingIntegerTypeError + const BindingMaxSizeError + const BindingMinSizeError + const BindingRequireError + const BindingUrlError + var MaxMemory = int64(1024 * 1024 * 10) + func Bind(obj interface{}, ifacePtr ...interface{}) martini.Handler + func BindIgnErr(obj interface{}, ifacePtr ...interface{}) martini.Handler + func ErrorHandler(errs Errors, resp http.ResponseWriter) + func Form(formStruct interface{}, ifacePtr ...interface{}) martini.Handler + func Json(jsonStruct interface{}, ifacePtr ...interface{}) martini.Handler + func MultipartForm(formStruct interface{}, ifacePtr ...interface{}) martini.Handler + func Validate(obj interface{}) martini.Handler + type Errors struct + Fields map[string]string + Overall map[string]string + func (err Errors) Count() int + func (this *Errors) Combine(other Errors) + type Validator interface + Validate func(*Errors, *http.Request, martini.Context)