MCPcopy Create free account
hub / github.com/kataras/iris / NotEmpty

Method NotEmpty

x/errors/validation/string.go:17–20  ·  view source on GitHub ↗

NotEmpty adds an error if the string is empty.

()

Source from the content-addressed store, hash-verified

15
16// NotEmpty adds an error if the string is empty.
17func (e *StringError) NotEmpty() *StringError {
18 e.Func(NotEmpty)
19 return e
20}
21
22// Fullname adds an error if the string is not a full name.
23func (e *StringError) Fullname() *StringError {

Callers

nothing calls this directly

Calls 1

FuncMethod · 0.80

Tested by

no test coverage detected