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

Function getInclude

internal/form/form.go:85–87  ·  view source on GitHub ↗
(field reflect.StructField)

Source from the content-addressed store, hash-verified

83}
84
85func getInclude(field reflect.StructField) string {
86 return getRuleBody(field, "Include(")
87}
88
89func validate(errs binding.Errors, data map[string]any, f Form, l macaron.Locale) binding.Errors {
90 if errs.Len() == 0 {

Callers 1

validateFunction · 0.85

Calls 1

getRuleBodyFunction · 0.85

Tested by

no test coverage detected