MCPcopy Create free account
hub / github.com/gogs/gogs / Validate

Method Validate

internal/form/admin.go:17–19  ·  view source on GitHub ↗
(ctx *macaron.Context, errs binding.Errors)

Source from the content-addressed store, hash-verified

15}
16
17func (f *AdminCrateUser) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
18 return validate(errs, ctx.Data, f, ctx.Locale)
19}
20
21type AdminEditUser struct {
22 LoginType string `binding:"Required"`

Callers

nothing calls this directly

Calls 1

validateFunction · 0.85

Tested by

no test coverage detected