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

Method Validate

internal/form/org.go:25–27  ·  view source on GitHub ↗
(ctx *macaron.Context, errs binding.Errors)

Source from the content-addressed store, hash-verified

23}
24
25func (f *UpdateOrgSetting) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
26 return validate(errs, ctx.Data, f, ctx.Locale)
27}
28
29type CreateTeam struct {
30 TeamName string `binding:"Required;AlphaDashDot;MaxSize(30)"`

Callers

nothing calls this directly

Calls 1

validateFunction · 0.85

Tested by

no test coverage detected